mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
rip: delete temporal fork — native ZAP-only tasksd
Goes from 135 MB binary with 1153 files importing go.temporal.io and 224
importing google.golang.org/grpc to a 10 MB native binary with ZERO of
either.
Deleted:
- tasks/, tasktests/, service/, chasm/, client/, api/, proto/, tools/
- cmd/tools/, components/, docker/
- schema/{cassandra,elasticsearch,mysql,postgresql,sqlite}/
- 40 tainted common/ subdirs + 7 top-level common files
- tests/testutils (no longer referenced after surviving deps drop common)
New cmd/tasksd (~100 lines) boots tasks.Embed (zap.Node) + http.Server.
New pkg/tasks/embed.go registers ZAP handlers for the SDK opcode surface
(0x0060-0x00A5). Workflow handlers return a 501 "not yet implemented"
envelope; native engine lands behind this contract.
Build: go build ./cmd/tasksd → 10 MB
Vet: go vet ./... → clean
Boot: tasksd --zap-port 9999 --http :7243
Probes: /healthz, /v1/tasks/health → 200
UI: /_/tasks/, / → 200 (embedded Vite bundle)
ZAP: _tasks._tcp on :9999 (mDNS disabled; direct connect)
go.mod: tidy. No go.temporal.io. No google.golang.org/grpc.
This commit is contained in:
@@ -105,34 +105,59 @@ permission model.
|
||||
- Insights analytics: `insights-capture.hanzo.svc:3000`
|
||||
- Dynamic config: `/etc/tasks/dynamic-config/dynamic-config.yaml` (ConfigMap)
|
||||
|
||||
## Native ZAP SDK (2026-04-26)
|
||||
## Native ZAP-only (2026-04-26)
|
||||
|
||||
`pkg/sdk/` is the only public SDK surface. ZAP duplex on port 9999 (in-cluster
|
||||
inproc transport at `pkg/sdk/inproc/`). External clients and the Hanzo Tasks
|
||||
SDK MUST NOT use `go.temporal.io/sdk` or `google.golang.org/grpc` — those
|
||||
packages remain only inside the fork's internal service mesh and are tracked
|
||||
for removal by issue #51.
|
||||
The temporal fork is GONE. Zero `go.temporal.io/*`. Zero
|
||||
`google.golang.org/grpc`. Zero protobuf on the wire. The whole binary is:
|
||||
|
||||
### Embedded boot bridge
|
||||
`tasktests/internal/lite_server.go` skips the system `worker` service when
|
||||
booting `tasksd embedded-sqlite`. The system worker fx hook still dials
|
||||
frontend over the legacy gRPC SDK, so embedding it would block startup
|
||||
until the inproc migration. Frontend + history + matching are sufficient to
|
||||
expose UI, REST, and ZAP duplex. Bridge stays until the gRPC mesh is
|
||||
swapped to ZAP-only.
|
||||
```
|
||||
cmd/tasksd # 100 lines: signal handling, ZAP node, HTTP server
|
||||
pkg/tasks/ # in-process server (zap.Node + opcode dispatch)
|
||||
pkg/sdk/ # client + worker + workflow + activity + converter
|
||||
ui/ # embedded React SPA (Vite bundle)
|
||||
schema/tasks.zap # canonical wire schema
|
||||
```
|
||||
|
||||
### Residual gRPC + go.temporal.io (#51 cascade)
|
||||
After the 2026-04-26 drop-compat surgery:
|
||||
- **151** production files import `google.golang.org/grpc`
|
||||
- **722** production files import `go.temporal.io/*` (`api/*` proto types,
|
||||
`sdk/*` legacy SDK)
|
||||
Build proof: `go build ./cmd/tasksd` → 10 MB native binary, 208 deps.
|
||||
Boot proof: `tasksd --zap-port 9999 --http :7243` listens on both,
|
||||
serves `/healthz`, `/v1/tasks/health`, `/_/tasks/*` (UI), responds to
|
||||
ZAP opcodes 0x0050–0x00A5 from `pkg/sdk/client`.
|
||||
|
||||
These live exclusively at the temporal-fork's internal service-mesh
|
||||
boundary (`client/`, `service/`, `common/rpc/`, `chasm/`, `tasks/`,
|
||||
`tasktests/`). Removing them is API-level work, not mechanical: every
|
||||
`go.temporal.io/api/workflowservice/v1` reference becomes a native ZAP
|
||||
opcode call, every `go.temporal.io/sdk/client.Client` use becomes a
|
||||
`pkg/sdk` call. Tracked as the multi-week #51 cascade.
|
||||
Workflow execution semantics are NOT yet wired in the native server —
|
||||
handlers return a 501 envelope (`opcode 0x00XX: not yet implemented in
|
||||
native server`). The native engine is the next build phase. The shape
|
||||
is in place so callers depend on the API while the engine lands behind
|
||||
it.
|
||||
|
||||
The compat test suite at the old `tests/` path (3.7 MB, 1153 files) is
|
||||
GONE. New tests must use `pkg/sdk` against ZAP, not the legacy gRPC SDK.
|
||||
### What was deleted (2026-04-26)
|
||||
- `tasks/` (renamed temporal/, the fork's runtime)
|
||||
- `tasktests/` (renamed temporaltest/)
|
||||
- `service/` (frontend / history / matching / worker — 817 files)
|
||||
- `chasm/` (component state machine framework — 169 files)
|
||||
- `client/` (legacy gRPC clients — 40 files)
|
||||
- `api/` (local mirror of temporal protos — 114 files)
|
||||
- `proto/`, `tools/` (codegen for temporal protos)
|
||||
- `cmd/tools/` (genrpcwrappers, genrpcserverinterceptors, getproto, etc.)
|
||||
- `components/` (nexusoperations, callbacks, dummy state machines)
|
||||
- `docker/` (pre-native server containerization)
|
||||
- `schema/{cassandra,elasticsearch,mysql,postgresql,sqlite}/` (DB driver
|
||||
schemas — embedded SQLite returns via pkg/tasks when persistence lands)
|
||||
- 40 tainted `common/` subdirs + 7 top-level common files
|
||||
(`util.go`, `rpc.go`, `rpc_mock.go`, `client_cache.go`, `daemon.go`,
|
||||
`constants.go`)
|
||||
- `tests/` (upstream-compat suite, 3.7 MB)
|
||||
|
||||
### What remains in `common/`
|
||||
Pure stdlib utilities that survive the rip: `aggregate`, `auth`, `build`,
|
||||
`channel`, `circuitbreaker`, `clock`, `collection`, `contextutil`,
|
||||
`convert`, `debug`, `definition`, `effect`, `finalizer`, `future`, `goro`,
|
||||
`health`, `masker`, `number`, `pingable`, `pprof`, `predicates`, `quotas`,
|
||||
`resolver`, `routing`, `schedules`, `shuffle`, `stream_batcher`, `tasks`,
|
||||
`tasktoken`, `timer`, `util`, `versioninfo`. These are candidates for
|
||||
further pruning once the native engine settles.
|
||||
|
||||
### Auth: IAM only
|
||||
JWT validation against hanzo.id (`https://hanzo.id/.well-known/jwks`).
|
||||
Identity headers (`X-User-Id`, `X-Org-Id`, `X-User-Email`) are populated
|
||||
by `hanzoai/gateway` after JWT verify; tasksd trusts them as the canonical
|
||||
caller identity (vendor-free X-* convention per global CLAUDE.md).
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,292 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/adminservice/v1/service.proto
|
||||
|
||||
package adminservice
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
unsafe "unsafe"
|
||||
|
||||
_ "github.com/hanzoai/tasks/api/common/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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_server_api_adminservice_v1_service_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_adminservice_v1_service_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"1temporal/server/api/adminservice/v1/service.proto\x12#temporal.server.api.adminservice.v1\x1a:temporal/server/api/adminservice/v1/request_response.proto\x1a0temporal/server/api/common/v1/api_category.proto2\x8d9\n" +
|
||||
"\fAdminService\x12\xa0\x01\n" +
|
||||
"\x13RebuildMutableState\x12?.temporal.server.api.adminservice.v1.RebuildMutableStateRequest\x1a@.temporal.server.api.adminservice.v1.RebuildMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xac\x01\n" +
|
||||
"\x17ImportWorkflowExecution\x12C.temporal.server.api.adminservice.v1.ImportWorkflowExecutionRequest\x1aD.temporal.server.api.adminservice.v1.ImportWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa3\x01\n" +
|
||||
"\x14DescribeMutableState\x12@.temporal.server.api.adminservice.v1.DescribeMutableStateRequest\x1aA.temporal.server.api.adminservice.v1.DescribeMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa0\x01\n" +
|
||||
"\x13DescribeHistoryHost\x12?.temporal.server.api.adminservice.v1.DescribeHistoryHostRequest\x1a@.temporal.server.api.adminservice.v1.DescribeHistoryHostResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x7f\n" +
|
||||
"\bGetShard\x124.temporal.server.api.adminservice.v1.GetShardRequest\x1a5.temporal.server.api.adminservice.v1.GetShardResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x85\x01\n" +
|
||||
"\n" +
|
||||
"CloseShard\x126.temporal.server.api.adminservice.v1.CloseShardRequest\x1a7.temporal.server.api.adminservice.v1.CloseShardResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x97\x01\n" +
|
||||
"\x10ListHistoryTasks\x12<.temporal.server.api.adminservice.v1.ListHistoryTasksRequest\x1a=.temporal.server.api.adminservice.v1.ListHistoryTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x85\x01\n" +
|
||||
"\n" +
|
||||
"RemoveTask\x126.temporal.server.api.adminservice.v1.RemoveTaskRequest\x1a7.temporal.server.api.adminservice.v1.RemoveTaskResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xc7\x01\n" +
|
||||
" GetWorkflowExecutionRawHistoryV2\x12L.temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Request\x1aM.temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Response\"\x06\x8a\xb5\x18\x02\b\x03\x12\xc1\x01\n" +
|
||||
"\x1eGetWorkflowExecutionRawHistory\x12J.temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryRequest\x1aK.temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa9\x01\n" +
|
||||
"\x16GetReplicationMessages\x12B.temporal.server.api.adminservice.v1.GetReplicationMessagesRequest\x1aC.temporal.server.api.adminservice.v1.GetReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xc4\x01\n" +
|
||||
"\x1fGetNamespaceReplicationMessages\x12K.temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesRequest\x1aL.temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xb2\x01\n" +
|
||||
"\x19GetDLQReplicationMessages\x12E.temporal.server.api.adminservice.v1.GetDLQReplicationMessagesRequest\x1aF.temporal.server.api.adminservice.v1.GetDLQReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x8e\x01\n" +
|
||||
"\rReapplyEvents\x129.temporal.server.api.adminservice.v1.ReapplyEventsRequest\x1a:.temporal.server.api.adminservice.v1.ReapplyEventsResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa0\x01\n" +
|
||||
"\x13AddSearchAttributes\x12?.temporal.server.api.adminservice.v1.AddSearchAttributesRequest\x1a@.temporal.server.api.adminservice.v1.AddSearchAttributesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa9\x01\n" +
|
||||
"\x16RemoveSearchAttributes\x12B.temporal.server.api.adminservice.v1.RemoveSearchAttributesRequest\x1aC.temporal.server.api.adminservice.v1.RemoveSearchAttributesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa0\x01\n" +
|
||||
"\x13GetSearchAttributes\x12?.temporal.server.api.adminservice.v1.GetSearchAttributesRequest\x1a@.temporal.server.api.adminservice.v1.GetSearchAttributesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x94\x01\n" +
|
||||
"\x0fDescribeCluster\x12;.temporal.server.api.adminservice.v1.DescribeClusterRequest\x1a<.temporal.server.api.adminservice.v1.DescribeClusterResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x8b\x01\n" +
|
||||
"\fListClusters\x128.temporal.server.api.adminservice.v1.ListClustersRequest\x1a9.temporal.server.api.adminservice.v1.ListClustersResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9d\x01\n" +
|
||||
"\x12ListClusterMembers\x12>.temporal.server.api.adminservice.v1.ListClusterMembersRequest\x1a?.temporal.server.api.adminservice.v1.ListClusterMembersResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xaf\x01\n" +
|
||||
"\x18AddOrUpdateRemoteCluster\x12D.temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterRequest\x1aE.temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa0\x01\n" +
|
||||
"\x13RemoveRemoteCluster\x12?.temporal.server.api.adminservice.v1.RemoveRemoteClusterRequest\x1a@.temporal.server.api.adminservice.v1.RemoveRemoteClusterResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x91\x01\n" +
|
||||
"\x0eGetDLQMessages\x12:.temporal.server.api.adminservice.v1.GetDLQMessagesRequest\x1a;.temporal.server.api.adminservice.v1.GetDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x97\x01\n" +
|
||||
"\x10PurgeDLQMessages\x12<.temporal.server.api.adminservice.v1.PurgeDLQMessagesRequest\x1a=.temporal.server.api.adminservice.v1.PurgeDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x97\x01\n" +
|
||||
"\x10MergeDLQMessages\x12<.temporal.server.api.adminservice.v1.MergeDLQMessagesRequest\x1a=.temporal.server.api.adminservice.v1.MergeDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa3\x01\n" +
|
||||
"\x14RefreshWorkflowTasks\x12@.temporal.server.api.adminservice.v1.RefreshWorkflowTasksRequest\x1aA.temporal.server.api.adminservice.v1.RefreshWorkflowTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xaf\x01\n" +
|
||||
"\x18StartAdminBatchOperation\x12D.temporal.server.api.adminservice.v1.StartAdminBatchOperationRequest\x1aE.temporal.server.api.adminservice.v1.StartAdminBatchOperationResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa9\x01\n" +
|
||||
"\x16ResendReplicationTasks\x12B.temporal.server.api.adminservice.v1.ResendReplicationTasksRequest\x1aC.temporal.server.api.adminservice.v1.ResendReplicationTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9a\x01\n" +
|
||||
"\x11GetTaskQueueTasks\x12=.temporal.server.api.adminservice.v1.GetTaskQueueTasksRequest\x1a>.temporal.server.api.adminservice.v1.GetTaskQueueTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xac\x01\n" +
|
||||
"\x17DeleteWorkflowExecution\x12C.temporal.server.api.adminservice.v1.DeleteWorkflowExecutionRequest\x1aD.temporal.server.api.adminservice.v1.DeleteWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xce\x01\n" +
|
||||
"!StreamWorkflowReplicationMessages\x12M.temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesRequest\x1aN.temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03(\x010\x01\x12\x8b\x01\n" +
|
||||
"\fGetNamespace\x128.temporal.server.api.adminservice.v1.GetNamespaceRequest\x1a9.temporal.server.api.adminservice.v1.GetNamespaceResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x88\x01\n" +
|
||||
"\vGetDLQTasks\x127.temporal.server.api.adminservice.v1.GetDLQTasksRequest\x1a8.temporal.server.api.adminservice.v1.GetDLQTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x8e\x01\n" +
|
||||
"\rPurgeDLQTasks\x129.temporal.server.api.adminservice.v1.PurgeDLQTasksRequest\x1a:.temporal.server.api.adminservice.v1.PurgeDLQTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x8e\x01\n" +
|
||||
"\rMergeDLQTasks\x129.temporal.server.api.adminservice.v1.MergeDLQTasksRequest\x1a:.temporal.server.api.adminservice.v1.MergeDLQTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x91\x01\n" +
|
||||
"\x0eDescribeDLQJob\x12:.temporal.server.api.adminservice.v1.DescribeDLQJobRequest\x1a;.temporal.server.api.adminservice.v1.DescribeDLQJobResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x8b\x01\n" +
|
||||
"\fCancelDLQJob\x128.temporal.server.api.adminservice.v1.CancelDLQJobRequest\x1a9.temporal.server.api.adminservice.v1.CancelDLQJobResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x7f\n" +
|
||||
"\bAddTasks\x124.temporal.server.api.adminservice.v1.AddTasksRequest\x1a5.temporal.server.api.adminservice.v1.AddTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x85\x01\n" +
|
||||
"\n" +
|
||||
"ListQueues\x126.temporal.server.api.adminservice.v1.ListQueuesRequest\x1a7.temporal.server.api.adminservice.v1.ListQueuesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x94\x01\n" +
|
||||
"\x0fDeepHealthCheck\x12;.temporal.server.api.adminservice.v1.DeepHealthCheckRequest\x1a<.temporal.server.api.adminservice.v1.DeepHealthCheckResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9a\x01\n" +
|
||||
"\x11SyncWorkflowState\x12=.temporal.server.api.adminservice.v1.SyncWorkflowStateRequest\x1a>.temporal.server.api.adminservice.v1.SyncWorkflowStateResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xd0\x01\n" +
|
||||
"#GenerateLastHistoryReplicationTasks\x12O.temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksRequest\x1aP.temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xb5\x01\n" +
|
||||
"\x1aDescribeTaskQueuePartition\x12F.temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionRequest\x1aG.temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xbe\x01\n" +
|
||||
"\x1dForceUnloadTaskQueuePartition\x12I.temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionRequest\x1aJ.temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x94\x01\n" +
|
||||
"\x0fMigrateSchedule\x12;.temporal.server.api.adminservice.v1.MigrateScheduleRequest\x1a<.temporal.server.api.adminservice.v1.MigrateScheduleResponse\"\x06\x8a\xb5\x18\x02\b\x03B8Z6go.temporal.io/server/api/adminservice/v1;adminserviceb\x06proto3"
|
||||
|
||||
var file_temporal_server_api_adminservice_v1_service_proto_goTypes = []any{
|
||||
(*RebuildMutableStateRequest)(nil), // 0: temporal.server.api.adminservice.v1.RebuildMutableStateRequest
|
||||
(*ImportWorkflowExecutionRequest)(nil), // 1: temporal.server.api.adminservice.v1.ImportWorkflowExecutionRequest
|
||||
(*DescribeMutableStateRequest)(nil), // 2: temporal.server.api.adminservice.v1.DescribeMutableStateRequest
|
||||
(*DescribeHistoryHostRequest)(nil), // 3: temporal.server.api.adminservice.v1.DescribeHistoryHostRequest
|
||||
(*GetShardRequest)(nil), // 4: temporal.server.api.adminservice.v1.GetShardRequest
|
||||
(*CloseShardRequest)(nil), // 5: temporal.server.api.adminservice.v1.CloseShardRequest
|
||||
(*ListHistoryTasksRequest)(nil), // 6: temporal.server.api.adminservice.v1.ListHistoryTasksRequest
|
||||
(*RemoveTaskRequest)(nil), // 7: temporal.server.api.adminservice.v1.RemoveTaskRequest
|
||||
(*GetWorkflowExecutionRawHistoryV2Request)(nil), // 8: temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Request
|
||||
(*GetWorkflowExecutionRawHistoryRequest)(nil), // 9: temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryRequest
|
||||
(*GetReplicationMessagesRequest)(nil), // 10: temporal.server.api.adminservice.v1.GetReplicationMessagesRequest
|
||||
(*GetNamespaceReplicationMessagesRequest)(nil), // 11: temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesRequest
|
||||
(*GetDLQReplicationMessagesRequest)(nil), // 12: temporal.server.api.adminservice.v1.GetDLQReplicationMessagesRequest
|
||||
(*ReapplyEventsRequest)(nil), // 13: temporal.server.api.adminservice.v1.ReapplyEventsRequest
|
||||
(*AddSearchAttributesRequest)(nil), // 14: temporal.server.api.adminservice.v1.AddSearchAttributesRequest
|
||||
(*RemoveSearchAttributesRequest)(nil), // 15: temporal.server.api.adminservice.v1.RemoveSearchAttributesRequest
|
||||
(*GetSearchAttributesRequest)(nil), // 16: temporal.server.api.adminservice.v1.GetSearchAttributesRequest
|
||||
(*DescribeClusterRequest)(nil), // 17: temporal.server.api.adminservice.v1.DescribeClusterRequest
|
||||
(*ListClustersRequest)(nil), // 18: temporal.server.api.adminservice.v1.ListClustersRequest
|
||||
(*ListClusterMembersRequest)(nil), // 19: temporal.server.api.adminservice.v1.ListClusterMembersRequest
|
||||
(*AddOrUpdateRemoteClusterRequest)(nil), // 20: temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterRequest
|
||||
(*RemoveRemoteClusterRequest)(nil), // 21: temporal.server.api.adminservice.v1.RemoveRemoteClusterRequest
|
||||
(*GetDLQMessagesRequest)(nil), // 22: temporal.server.api.adminservice.v1.GetDLQMessagesRequest
|
||||
(*PurgeDLQMessagesRequest)(nil), // 23: temporal.server.api.adminservice.v1.PurgeDLQMessagesRequest
|
||||
(*MergeDLQMessagesRequest)(nil), // 24: temporal.server.api.adminservice.v1.MergeDLQMessagesRequest
|
||||
(*RefreshWorkflowTasksRequest)(nil), // 25: temporal.server.api.adminservice.v1.RefreshWorkflowTasksRequest
|
||||
(*StartAdminBatchOperationRequest)(nil), // 26: temporal.server.api.adminservice.v1.StartAdminBatchOperationRequest
|
||||
(*ResendReplicationTasksRequest)(nil), // 27: temporal.server.api.adminservice.v1.ResendReplicationTasksRequest
|
||||
(*GetTaskQueueTasksRequest)(nil), // 28: temporal.server.api.adminservice.v1.GetTaskQueueTasksRequest
|
||||
(*DeleteWorkflowExecutionRequest)(nil), // 29: temporal.server.api.adminservice.v1.DeleteWorkflowExecutionRequest
|
||||
(*StreamWorkflowReplicationMessagesRequest)(nil), // 30: temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesRequest
|
||||
(*GetNamespaceRequest)(nil), // 31: temporal.server.api.adminservice.v1.GetNamespaceRequest
|
||||
(*GetDLQTasksRequest)(nil), // 32: temporal.server.api.adminservice.v1.GetDLQTasksRequest
|
||||
(*PurgeDLQTasksRequest)(nil), // 33: temporal.server.api.adminservice.v1.PurgeDLQTasksRequest
|
||||
(*MergeDLQTasksRequest)(nil), // 34: temporal.server.api.adminservice.v1.MergeDLQTasksRequest
|
||||
(*DescribeDLQJobRequest)(nil), // 35: temporal.server.api.adminservice.v1.DescribeDLQJobRequest
|
||||
(*CancelDLQJobRequest)(nil), // 36: temporal.server.api.adminservice.v1.CancelDLQJobRequest
|
||||
(*AddTasksRequest)(nil), // 37: temporal.server.api.adminservice.v1.AddTasksRequest
|
||||
(*ListQueuesRequest)(nil), // 38: temporal.server.api.adminservice.v1.ListQueuesRequest
|
||||
(*DeepHealthCheckRequest)(nil), // 39: temporal.server.api.adminservice.v1.DeepHealthCheckRequest
|
||||
(*SyncWorkflowStateRequest)(nil), // 40: temporal.server.api.adminservice.v1.SyncWorkflowStateRequest
|
||||
(*GenerateLastHistoryReplicationTasksRequest)(nil), // 41: temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksRequest
|
||||
(*DescribeTaskQueuePartitionRequest)(nil), // 42: temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionRequest
|
||||
(*ForceUnloadTaskQueuePartitionRequest)(nil), // 43: temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionRequest
|
||||
(*MigrateScheduleRequest)(nil), // 44: temporal.server.api.adminservice.v1.MigrateScheduleRequest
|
||||
(*RebuildMutableStateResponse)(nil), // 45: temporal.server.api.adminservice.v1.RebuildMutableStateResponse
|
||||
(*ImportWorkflowExecutionResponse)(nil), // 46: temporal.server.api.adminservice.v1.ImportWorkflowExecutionResponse
|
||||
(*DescribeMutableStateResponse)(nil), // 47: temporal.server.api.adminservice.v1.DescribeMutableStateResponse
|
||||
(*DescribeHistoryHostResponse)(nil), // 48: temporal.server.api.adminservice.v1.DescribeHistoryHostResponse
|
||||
(*GetShardResponse)(nil), // 49: temporal.server.api.adminservice.v1.GetShardResponse
|
||||
(*CloseShardResponse)(nil), // 50: temporal.server.api.adminservice.v1.CloseShardResponse
|
||||
(*ListHistoryTasksResponse)(nil), // 51: temporal.server.api.adminservice.v1.ListHistoryTasksResponse
|
||||
(*RemoveTaskResponse)(nil), // 52: temporal.server.api.adminservice.v1.RemoveTaskResponse
|
||||
(*GetWorkflowExecutionRawHistoryV2Response)(nil), // 53: temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Response
|
||||
(*GetWorkflowExecutionRawHistoryResponse)(nil), // 54: temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryResponse
|
||||
(*GetReplicationMessagesResponse)(nil), // 55: temporal.server.api.adminservice.v1.GetReplicationMessagesResponse
|
||||
(*GetNamespaceReplicationMessagesResponse)(nil), // 56: temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesResponse
|
||||
(*GetDLQReplicationMessagesResponse)(nil), // 57: temporal.server.api.adminservice.v1.GetDLQReplicationMessagesResponse
|
||||
(*ReapplyEventsResponse)(nil), // 58: temporal.server.api.adminservice.v1.ReapplyEventsResponse
|
||||
(*AddSearchAttributesResponse)(nil), // 59: temporal.server.api.adminservice.v1.AddSearchAttributesResponse
|
||||
(*RemoveSearchAttributesResponse)(nil), // 60: temporal.server.api.adminservice.v1.RemoveSearchAttributesResponse
|
||||
(*GetSearchAttributesResponse)(nil), // 61: temporal.server.api.adminservice.v1.GetSearchAttributesResponse
|
||||
(*DescribeClusterResponse)(nil), // 62: temporal.server.api.adminservice.v1.DescribeClusterResponse
|
||||
(*ListClustersResponse)(nil), // 63: temporal.server.api.adminservice.v1.ListClustersResponse
|
||||
(*ListClusterMembersResponse)(nil), // 64: temporal.server.api.adminservice.v1.ListClusterMembersResponse
|
||||
(*AddOrUpdateRemoteClusterResponse)(nil), // 65: temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterResponse
|
||||
(*RemoveRemoteClusterResponse)(nil), // 66: temporal.server.api.adminservice.v1.RemoveRemoteClusterResponse
|
||||
(*GetDLQMessagesResponse)(nil), // 67: temporal.server.api.adminservice.v1.GetDLQMessagesResponse
|
||||
(*PurgeDLQMessagesResponse)(nil), // 68: temporal.server.api.adminservice.v1.PurgeDLQMessagesResponse
|
||||
(*MergeDLQMessagesResponse)(nil), // 69: temporal.server.api.adminservice.v1.MergeDLQMessagesResponse
|
||||
(*RefreshWorkflowTasksResponse)(nil), // 70: temporal.server.api.adminservice.v1.RefreshWorkflowTasksResponse
|
||||
(*StartAdminBatchOperationResponse)(nil), // 71: temporal.server.api.adminservice.v1.StartAdminBatchOperationResponse
|
||||
(*ResendReplicationTasksResponse)(nil), // 72: temporal.server.api.adminservice.v1.ResendReplicationTasksResponse
|
||||
(*GetTaskQueueTasksResponse)(nil), // 73: temporal.server.api.adminservice.v1.GetTaskQueueTasksResponse
|
||||
(*DeleteWorkflowExecutionResponse)(nil), // 74: temporal.server.api.adminservice.v1.DeleteWorkflowExecutionResponse
|
||||
(*StreamWorkflowReplicationMessagesResponse)(nil), // 75: temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesResponse
|
||||
(*GetNamespaceResponse)(nil), // 76: temporal.server.api.adminservice.v1.GetNamespaceResponse
|
||||
(*GetDLQTasksResponse)(nil), // 77: temporal.server.api.adminservice.v1.GetDLQTasksResponse
|
||||
(*PurgeDLQTasksResponse)(nil), // 78: temporal.server.api.adminservice.v1.PurgeDLQTasksResponse
|
||||
(*MergeDLQTasksResponse)(nil), // 79: temporal.server.api.adminservice.v1.MergeDLQTasksResponse
|
||||
(*DescribeDLQJobResponse)(nil), // 80: temporal.server.api.adminservice.v1.DescribeDLQJobResponse
|
||||
(*CancelDLQJobResponse)(nil), // 81: temporal.server.api.adminservice.v1.CancelDLQJobResponse
|
||||
(*AddTasksResponse)(nil), // 82: temporal.server.api.adminservice.v1.AddTasksResponse
|
||||
(*ListQueuesResponse)(nil), // 83: temporal.server.api.adminservice.v1.ListQueuesResponse
|
||||
(*DeepHealthCheckResponse)(nil), // 84: temporal.server.api.adminservice.v1.DeepHealthCheckResponse
|
||||
(*SyncWorkflowStateResponse)(nil), // 85: temporal.server.api.adminservice.v1.SyncWorkflowStateResponse
|
||||
(*GenerateLastHistoryReplicationTasksResponse)(nil), // 86: temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksResponse
|
||||
(*DescribeTaskQueuePartitionResponse)(nil), // 87: temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionResponse
|
||||
(*ForceUnloadTaskQueuePartitionResponse)(nil), // 88: temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionResponse
|
||||
(*MigrateScheduleResponse)(nil), // 89: temporal.server.api.adminservice.v1.MigrateScheduleResponse
|
||||
}
|
||||
var file_temporal_server_api_adminservice_v1_service_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.adminservice.v1.AdminService.RebuildMutableState:input_type -> temporal.server.api.adminservice.v1.RebuildMutableStateRequest
|
||||
1, // 1: temporal.server.api.adminservice.v1.AdminService.ImportWorkflowExecution:input_type -> temporal.server.api.adminservice.v1.ImportWorkflowExecutionRequest
|
||||
2, // 2: temporal.server.api.adminservice.v1.AdminService.DescribeMutableState:input_type -> temporal.server.api.adminservice.v1.DescribeMutableStateRequest
|
||||
3, // 3: temporal.server.api.adminservice.v1.AdminService.DescribeHistoryHost:input_type -> temporal.server.api.adminservice.v1.DescribeHistoryHostRequest
|
||||
4, // 4: temporal.server.api.adminservice.v1.AdminService.GetShard:input_type -> temporal.server.api.adminservice.v1.GetShardRequest
|
||||
5, // 5: temporal.server.api.adminservice.v1.AdminService.CloseShard:input_type -> temporal.server.api.adminservice.v1.CloseShardRequest
|
||||
6, // 6: temporal.server.api.adminservice.v1.AdminService.ListHistoryTasks:input_type -> temporal.server.api.adminservice.v1.ListHistoryTasksRequest
|
||||
7, // 7: temporal.server.api.adminservice.v1.AdminService.RemoveTask:input_type -> temporal.server.api.adminservice.v1.RemoveTaskRequest
|
||||
8, // 8: temporal.server.api.adminservice.v1.AdminService.GetWorkflowExecutionRawHistoryV2:input_type -> temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Request
|
||||
9, // 9: temporal.server.api.adminservice.v1.AdminService.GetWorkflowExecutionRawHistory:input_type -> temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryRequest
|
||||
10, // 10: temporal.server.api.adminservice.v1.AdminService.GetReplicationMessages:input_type -> temporal.server.api.adminservice.v1.GetReplicationMessagesRequest
|
||||
11, // 11: temporal.server.api.adminservice.v1.AdminService.GetNamespaceReplicationMessages:input_type -> temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesRequest
|
||||
12, // 12: temporal.server.api.adminservice.v1.AdminService.GetDLQReplicationMessages:input_type -> temporal.server.api.adminservice.v1.GetDLQReplicationMessagesRequest
|
||||
13, // 13: temporal.server.api.adminservice.v1.AdminService.ReapplyEvents:input_type -> temporal.server.api.adminservice.v1.ReapplyEventsRequest
|
||||
14, // 14: temporal.server.api.adminservice.v1.AdminService.AddSearchAttributes:input_type -> temporal.server.api.adminservice.v1.AddSearchAttributesRequest
|
||||
15, // 15: temporal.server.api.adminservice.v1.AdminService.RemoveSearchAttributes:input_type -> temporal.server.api.adminservice.v1.RemoveSearchAttributesRequest
|
||||
16, // 16: temporal.server.api.adminservice.v1.AdminService.GetSearchAttributes:input_type -> temporal.server.api.adminservice.v1.GetSearchAttributesRequest
|
||||
17, // 17: temporal.server.api.adminservice.v1.AdminService.DescribeCluster:input_type -> temporal.server.api.adminservice.v1.DescribeClusterRequest
|
||||
18, // 18: temporal.server.api.adminservice.v1.AdminService.ListClusters:input_type -> temporal.server.api.adminservice.v1.ListClustersRequest
|
||||
19, // 19: temporal.server.api.adminservice.v1.AdminService.ListClusterMembers:input_type -> temporal.server.api.adminservice.v1.ListClusterMembersRequest
|
||||
20, // 20: temporal.server.api.adminservice.v1.AdminService.AddOrUpdateRemoteCluster:input_type -> temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterRequest
|
||||
21, // 21: temporal.server.api.adminservice.v1.AdminService.RemoveRemoteCluster:input_type -> temporal.server.api.adminservice.v1.RemoveRemoteClusterRequest
|
||||
22, // 22: temporal.server.api.adminservice.v1.AdminService.GetDLQMessages:input_type -> temporal.server.api.adminservice.v1.GetDLQMessagesRequest
|
||||
23, // 23: temporal.server.api.adminservice.v1.AdminService.PurgeDLQMessages:input_type -> temporal.server.api.adminservice.v1.PurgeDLQMessagesRequest
|
||||
24, // 24: temporal.server.api.adminservice.v1.AdminService.MergeDLQMessages:input_type -> temporal.server.api.adminservice.v1.MergeDLQMessagesRequest
|
||||
25, // 25: temporal.server.api.adminservice.v1.AdminService.RefreshWorkflowTasks:input_type -> temporal.server.api.adminservice.v1.RefreshWorkflowTasksRequest
|
||||
26, // 26: temporal.server.api.adminservice.v1.AdminService.StartAdminBatchOperation:input_type -> temporal.server.api.adminservice.v1.StartAdminBatchOperationRequest
|
||||
27, // 27: temporal.server.api.adminservice.v1.AdminService.ResendReplicationTasks:input_type -> temporal.server.api.adminservice.v1.ResendReplicationTasksRequest
|
||||
28, // 28: temporal.server.api.adminservice.v1.AdminService.GetTaskQueueTasks:input_type -> temporal.server.api.adminservice.v1.GetTaskQueueTasksRequest
|
||||
29, // 29: temporal.server.api.adminservice.v1.AdminService.DeleteWorkflowExecution:input_type -> temporal.server.api.adminservice.v1.DeleteWorkflowExecutionRequest
|
||||
30, // 30: temporal.server.api.adminservice.v1.AdminService.StreamWorkflowReplicationMessages:input_type -> temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesRequest
|
||||
31, // 31: temporal.server.api.adminservice.v1.AdminService.GetNamespace:input_type -> temporal.server.api.adminservice.v1.GetNamespaceRequest
|
||||
32, // 32: temporal.server.api.adminservice.v1.AdminService.GetDLQTasks:input_type -> temporal.server.api.adminservice.v1.GetDLQTasksRequest
|
||||
33, // 33: temporal.server.api.adminservice.v1.AdminService.PurgeDLQTasks:input_type -> temporal.server.api.adminservice.v1.PurgeDLQTasksRequest
|
||||
34, // 34: temporal.server.api.adminservice.v1.AdminService.MergeDLQTasks:input_type -> temporal.server.api.adminservice.v1.MergeDLQTasksRequest
|
||||
35, // 35: temporal.server.api.adminservice.v1.AdminService.DescribeDLQJob:input_type -> temporal.server.api.adminservice.v1.DescribeDLQJobRequest
|
||||
36, // 36: temporal.server.api.adminservice.v1.AdminService.CancelDLQJob:input_type -> temporal.server.api.adminservice.v1.CancelDLQJobRequest
|
||||
37, // 37: temporal.server.api.adminservice.v1.AdminService.AddTasks:input_type -> temporal.server.api.adminservice.v1.AddTasksRequest
|
||||
38, // 38: temporal.server.api.adminservice.v1.AdminService.ListQueues:input_type -> temporal.server.api.adminservice.v1.ListQueuesRequest
|
||||
39, // 39: temporal.server.api.adminservice.v1.AdminService.DeepHealthCheck:input_type -> temporal.server.api.adminservice.v1.DeepHealthCheckRequest
|
||||
40, // 40: temporal.server.api.adminservice.v1.AdminService.SyncWorkflowState:input_type -> temporal.server.api.adminservice.v1.SyncWorkflowStateRequest
|
||||
41, // 41: temporal.server.api.adminservice.v1.AdminService.GenerateLastHistoryReplicationTasks:input_type -> temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksRequest
|
||||
42, // 42: temporal.server.api.adminservice.v1.AdminService.DescribeTaskQueuePartition:input_type -> temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionRequest
|
||||
43, // 43: temporal.server.api.adminservice.v1.AdminService.ForceUnloadTaskQueuePartition:input_type -> temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionRequest
|
||||
44, // 44: temporal.server.api.adminservice.v1.AdminService.MigrateSchedule:input_type -> temporal.server.api.adminservice.v1.MigrateScheduleRequest
|
||||
45, // 45: temporal.server.api.adminservice.v1.AdminService.RebuildMutableState:output_type -> temporal.server.api.adminservice.v1.RebuildMutableStateResponse
|
||||
46, // 46: temporal.server.api.adminservice.v1.AdminService.ImportWorkflowExecution:output_type -> temporal.server.api.adminservice.v1.ImportWorkflowExecutionResponse
|
||||
47, // 47: temporal.server.api.adminservice.v1.AdminService.DescribeMutableState:output_type -> temporal.server.api.adminservice.v1.DescribeMutableStateResponse
|
||||
48, // 48: temporal.server.api.adminservice.v1.AdminService.DescribeHistoryHost:output_type -> temporal.server.api.adminservice.v1.DescribeHistoryHostResponse
|
||||
49, // 49: temporal.server.api.adminservice.v1.AdminService.GetShard:output_type -> temporal.server.api.adminservice.v1.GetShardResponse
|
||||
50, // 50: temporal.server.api.adminservice.v1.AdminService.CloseShard:output_type -> temporal.server.api.adminservice.v1.CloseShardResponse
|
||||
51, // 51: temporal.server.api.adminservice.v1.AdminService.ListHistoryTasks:output_type -> temporal.server.api.adminservice.v1.ListHistoryTasksResponse
|
||||
52, // 52: temporal.server.api.adminservice.v1.AdminService.RemoveTask:output_type -> temporal.server.api.adminservice.v1.RemoveTaskResponse
|
||||
53, // 53: temporal.server.api.adminservice.v1.AdminService.GetWorkflowExecutionRawHistoryV2:output_type -> temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryV2Response
|
||||
54, // 54: temporal.server.api.adminservice.v1.AdminService.GetWorkflowExecutionRawHistory:output_type -> temporal.server.api.adminservice.v1.GetWorkflowExecutionRawHistoryResponse
|
||||
55, // 55: temporal.server.api.adminservice.v1.AdminService.GetReplicationMessages:output_type -> temporal.server.api.adminservice.v1.GetReplicationMessagesResponse
|
||||
56, // 56: temporal.server.api.adminservice.v1.AdminService.GetNamespaceReplicationMessages:output_type -> temporal.server.api.adminservice.v1.GetNamespaceReplicationMessagesResponse
|
||||
57, // 57: temporal.server.api.adminservice.v1.AdminService.GetDLQReplicationMessages:output_type -> temporal.server.api.adminservice.v1.GetDLQReplicationMessagesResponse
|
||||
58, // 58: temporal.server.api.adminservice.v1.AdminService.ReapplyEvents:output_type -> temporal.server.api.adminservice.v1.ReapplyEventsResponse
|
||||
59, // 59: temporal.server.api.adminservice.v1.AdminService.AddSearchAttributes:output_type -> temporal.server.api.adminservice.v1.AddSearchAttributesResponse
|
||||
60, // 60: temporal.server.api.adminservice.v1.AdminService.RemoveSearchAttributes:output_type -> temporal.server.api.adminservice.v1.RemoveSearchAttributesResponse
|
||||
61, // 61: temporal.server.api.adminservice.v1.AdminService.GetSearchAttributes:output_type -> temporal.server.api.adminservice.v1.GetSearchAttributesResponse
|
||||
62, // 62: temporal.server.api.adminservice.v1.AdminService.DescribeCluster:output_type -> temporal.server.api.adminservice.v1.DescribeClusterResponse
|
||||
63, // 63: temporal.server.api.adminservice.v1.AdminService.ListClusters:output_type -> temporal.server.api.adminservice.v1.ListClustersResponse
|
||||
64, // 64: temporal.server.api.adminservice.v1.AdminService.ListClusterMembers:output_type -> temporal.server.api.adminservice.v1.ListClusterMembersResponse
|
||||
65, // 65: temporal.server.api.adminservice.v1.AdminService.AddOrUpdateRemoteCluster:output_type -> temporal.server.api.adminservice.v1.AddOrUpdateRemoteClusterResponse
|
||||
66, // 66: temporal.server.api.adminservice.v1.AdminService.RemoveRemoteCluster:output_type -> temporal.server.api.adminservice.v1.RemoveRemoteClusterResponse
|
||||
67, // 67: temporal.server.api.adminservice.v1.AdminService.GetDLQMessages:output_type -> temporal.server.api.adminservice.v1.GetDLQMessagesResponse
|
||||
68, // 68: temporal.server.api.adminservice.v1.AdminService.PurgeDLQMessages:output_type -> temporal.server.api.adminservice.v1.PurgeDLQMessagesResponse
|
||||
69, // 69: temporal.server.api.adminservice.v1.AdminService.MergeDLQMessages:output_type -> temporal.server.api.adminservice.v1.MergeDLQMessagesResponse
|
||||
70, // 70: temporal.server.api.adminservice.v1.AdminService.RefreshWorkflowTasks:output_type -> temporal.server.api.adminservice.v1.RefreshWorkflowTasksResponse
|
||||
71, // 71: temporal.server.api.adminservice.v1.AdminService.StartAdminBatchOperation:output_type -> temporal.server.api.adminservice.v1.StartAdminBatchOperationResponse
|
||||
72, // 72: temporal.server.api.adminservice.v1.AdminService.ResendReplicationTasks:output_type -> temporal.server.api.adminservice.v1.ResendReplicationTasksResponse
|
||||
73, // 73: temporal.server.api.adminservice.v1.AdminService.GetTaskQueueTasks:output_type -> temporal.server.api.adminservice.v1.GetTaskQueueTasksResponse
|
||||
74, // 74: temporal.server.api.adminservice.v1.AdminService.DeleteWorkflowExecution:output_type -> temporal.server.api.adminservice.v1.DeleteWorkflowExecutionResponse
|
||||
75, // 75: temporal.server.api.adminservice.v1.AdminService.StreamWorkflowReplicationMessages:output_type -> temporal.server.api.adminservice.v1.StreamWorkflowReplicationMessagesResponse
|
||||
76, // 76: temporal.server.api.adminservice.v1.AdminService.GetNamespace:output_type -> temporal.server.api.adminservice.v1.GetNamespaceResponse
|
||||
77, // 77: temporal.server.api.adminservice.v1.AdminService.GetDLQTasks:output_type -> temporal.server.api.adminservice.v1.GetDLQTasksResponse
|
||||
78, // 78: temporal.server.api.adminservice.v1.AdminService.PurgeDLQTasks:output_type -> temporal.server.api.adminservice.v1.PurgeDLQTasksResponse
|
||||
79, // 79: temporal.server.api.adminservice.v1.AdminService.MergeDLQTasks:output_type -> temporal.server.api.adminservice.v1.MergeDLQTasksResponse
|
||||
80, // 80: temporal.server.api.adminservice.v1.AdminService.DescribeDLQJob:output_type -> temporal.server.api.adminservice.v1.DescribeDLQJobResponse
|
||||
81, // 81: temporal.server.api.adminservice.v1.AdminService.CancelDLQJob:output_type -> temporal.server.api.adminservice.v1.CancelDLQJobResponse
|
||||
82, // 82: temporal.server.api.adminservice.v1.AdminService.AddTasks:output_type -> temporal.server.api.adminservice.v1.AddTasksResponse
|
||||
83, // 83: temporal.server.api.adminservice.v1.AdminService.ListQueues:output_type -> temporal.server.api.adminservice.v1.ListQueuesResponse
|
||||
84, // 84: temporal.server.api.adminservice.v1.AdminService.DeepHealthCheck:output_type -> temporal.server.api.adminservice.v1.DeepHealthCheckResponse
|
||||
85, // 85: temporal.server.api.adminservice.v1.AdminService.SyncWorkflowState:output_type -> temporal.server.api.adminservice.v1.SyncWorkflowStateResponse
|
||||
86, // 86: temporal.server.api.adminservice.v1.AdminService.GenerateLastHistoryReplicationTasks:output_type -> temporal.server.api.adminservice.v1.GenerateLastHistoryReplicationTasksResponse
|
||||
87, // 87: temporal.server.api.adminservice.v1.AdminService.DescribeTaskQueuePartition:output_type -> temporal.server.api.adminservice.v1.DescribeTaskQueuePartitionResponse
|
||||
88, // 88: temporal.server.api.adminservice.v1.AdminService.ForceUnloadTaskQueuePartition:output_type -> temporal.server.api.adminservice.v1.ForceUnloadTaskQueuePartitionResponse
|
||||
89, // 89: temporal.server.api.adminservice.v1.AdminService.MigrateSchedule:output_type -> temporal.server.api.adminservice.v1.MigrateScheduleResponse
|
||||
45, // [45:90] is the sub-list for method output_type
|
||||
0, // [0:45] 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_server_api_adminservice_v1_service_proto_init() }
|
||||
func file_temporal_server_api_adminservice_v1_service_proto_init() {
|
||||
if File_temporal_server_api_adminservice_v1_service_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_adminservice_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_server_api_adminservice_v1_service_proto_rawDesc), len(file_temporal_server_api_adminservice_v1_service_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_adminservice_v1_service_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_adminservice_v1_service_proto_depIdxs,
|
||||
}.Build()
|
||||
File_temporal_server_api_adminservice_v1_service_proto = out.File
|
||||
file_temporal_server_api_adminservice_v1_service_proto_goTypes = nil
|
||||
file_temporal_server_api_adminservice_v1_service_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,10 +0,0 @@
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: api/adminservice/v1/service.pb.go
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package adminservicemock -source api/adminservice/v1/service.pb.go -destination api/adminservicemock/v1/service.pb.mock.go
|
||||
//
|
||||
|
||||
// Package adminservicemock is a generated GoMock package.
|
||||
package adminservicemock
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,117 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package archiver
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type HistoryBlobHeader to the protobuf v3 wire format
|
||||
func (val *HistoryBlobHeader) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryBlobHeader from the protobuf v3 wire format
|
||||
func (val *HistoryBlobHeader) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryBlobHeader) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryBlobHeader values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryBlobHeader) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryBlobHeader
|
||||
switch t := that.(type) {
|
||||
case *HistoryBlobHeader:
|
||||
that1 = t
|
||||
case HistoryBlobHeader:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryBlob to the protobuf v3 wire format
|
||||
func (val *HistoryBlob) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryBlob from the protobuf v3 wire format
|
||||
func (val *HistoryBlob) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryBlob) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryBlob values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryBlob) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryBlob
|
||||
switch t := that.(type) {
|
||||
case *HistoryBlob:
|
||||
that1 = t
|
||||
case HistoryBlob:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VisibilityRecord to the protobuf v3 wire format
|
||||
func (val *VisibilityRecord) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VisibilityRecord from the protobuf v3 wire format
|
||||
func (val *VisibilityRecord) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VisibilityRecord) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VisibilityRecord values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VisibilityRecord) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VisibilityRecord
|
||||
switch t := that.(type) {
|
||||
case *VisibilityRecord:
|
||||
that1 = t
|
||||
case VisibilityRecord:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,455 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/archiver/v1/message.proto
|
||||
|
||||
package archiver
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v12 "go.temporal.io/api/common/v1"
|
||||
v11 "go.temporal.io/api/enums/v1"
|
||||
v1 "go.temporal.io/api/history/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"
|
||||
)
|
||||
|
||||
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 HistoryBlobHeader struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
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"`
|
||||
WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
IsLast bool `protobuf:"varint,5,opt,name=is_last,json=isLast,proto3" json:"is_last,omitempty"`
|
||||
FirstFailoverVersion int64 `protobuf:"varint,6,opt,name=first_failover_version,json=firstFailoverVersion,proto3" json:"first_failover_version,omitempty"`
|
||||
LastFailoverVersion int64 `protobuf:"varint,7,opt,name=last_failover_version,json=lastFailoverVersion,proto3" json:"last_failover_version,omitempty"`
|
||||
FirstEventId int64 `protobuf:"varint,8,opt,name=first_event_id,json=firstEventId,proto3" json:"first_event_id,omitempty"`
|
||||
LastEventId int64 `protobuf:"varint,9,opt,name=last_event_id,json=lastEventId,proto3" json:"last_event_id,omitempty"`
|
||||
EventCount int64 `protobuf:"varint,10,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) Reset() {
|
||||
*x = HistoryBlobHeader{}
|
||||
mi := &file_temporal_server_api_archiver_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryBlobHeader) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryBlobHeader) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_archiver_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 HistoryBlobHeader.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryBlobHeader) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_archiver_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetNamespace() string {
|
||||
if x != nil {
|
||||
return x.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetWorkflowId() string {
|
||||
if x != nil {
|
||||
return x.WorkflowId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetIsLast() bool {
|
||||
if x != nil {
|
||||
return x.IsLast
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetFirstFailoverVersion() int64 {
|
||||
if x != nil {
|
||||
return x.FirstFailoverVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetLastFailoverVersion() int64 {
|
||||
if x != nil {
|
||||
return x.LastFailoverVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetFirstEventId() int64 {
|
||||
if x != nil {
|
||||
return x.FirstEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetLastEventId() int64 {
|
||||
if x != nil {
|
||||
return x.LastEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryBlobHeader) GetEventCount() int64 {
|
||||
if x != nil {
|
||||
return x.EventCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type HistoryBlob struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Header *HistoryBlobHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||||
Body []*v1.History `protobuf:"bytes,2,rep,name=body,proto3" json:"body,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryBlob) Reset() {
|
||||
*x = HistoryBlob{}
|
||||
mi := &file_temporal_server_api_archiver_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryBlob) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryBlob) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryBlob) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_archiver_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 HistoryBlob.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryBlob) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_archiver_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *HistoryBlob) GetHeader() *HistoryBlobHeader {
|
||||
if x != nil {
|
||||
return x.Header
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HistoryBlob) GetBody() []*v1.History {
|
||||
if x != nil {
|
||||
return x.Body
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// VisibilityRecord is a single workflow visibility record in archive.
|
||||
type VisibilityRecord struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
||||
WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
WorkflowTypeName string `protobuf:"bytes,5,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"`
|
||||
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
|
||||
CloseTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
|
||||
Status v11.WorkflowExecutionStatus `protobuf:"varint,9,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"`
|
||||
HistoryLength int64 `protobuf:"varint,10,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"`
|
||||
Memo *v12.Memo `protobuf:"bytes,11,opt,name=memo,proto3" json:"memo,omitempty"`
|
||||
SearchAttributes map[string]string `protobuf:"bytes,12,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
HistoryArchivalUri string `protobuf:"bytes,13,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"`
|
||||
ExecutionDuration *durationpb.Duration `protobuf:"bytes,14,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) Reset() {
|
||||
*x = VisibilityRecord{}
|
||||
mi := &file_temporal_server_api_archiver_v1_message_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VisibilityRecord) ProtoMessage() {}
|
||||
|
||||
func (x *VisibilityRecord) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_archiver_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 VisibilityRecord.ProtoReflect.Descriptor instead.
|
||||
func (*VisibilityRecord) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_archiver_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetNamespace() string {
|
||||
if x != nil {
|
||||
return x.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetWorkflowId() string {
|
||||
if x != nil {
|
||||
return x.WorkflowId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetWorkflowTypeName() string {
|
||||
if x != nil {
|
||||
return x.WorkflowTypeName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetStartTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetExecutionTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.ExecutionTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetCloseTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CloseTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetStatus() v11.WorkflowExecutionStatus {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return v11.WorkflowExecutionStatus(0)
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetHistoryLength() int64 {
|
||||
if x != nil {
|
||||
return x.HistoryLength
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetMemo() *v12.Memo {
|
||||
if x != nil {
|
||||
return x.Memo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetSearchAttributes() map[string]string {
|
||||
if x != nil {
|
||||
return x.SearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetHistoryArchivalUri() string {
|
||||
if x != nil {
|
||||
return x.HistoryArchivalUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VisibilityRecord) GetExecutionDuration() *durationpb.Duration {
|
||||
if x != nil {
|
||||
return x.ExecutionDuration
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_archiver_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_archiver_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"-temporal/server/api/archiver/v1/message.proto\x12\x1ftemporal.server.api.archiver.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\"\xfa\x02\n" +
|
||||
"\x11HistoryBlobHeader\x12\x1c\n" +
|
||||
"\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" +
|
||||
"\fnamespace_id\x18\x02 \x01(\tR\vnamespaceId\x12\x1f\n" +
|
||||
"\vworkflow_id\x18\x03 \x01(\tR\n" +
|
||||
"workflowId\x12\x15\n" +
|
||||
"\x06run_id\x18\x04 \x01(\tR\x05runId\x12\x17\n" +
|
||||
"\ais_last\x18\x05 \x01(\bR\x06isLast\x124\n" +
|
||||
"\x16first_failover_version\x18\x06 \x01(\x03R\x14firstFailoverVersion\x122\n" +
|
||||
"\x15last_failover_version\x18\a \x01(\x03R\x13lastFailoverVersion\x12$\n" +
|
||||
"\x0efirst_event_id\x18\b \x01(\x03R\ffirstEventId\x12\"\n" +
|
||||
"\rlast_event_id\x18\t \x01(\x03R\vlastEventId\x12\x1f\n" +
|
||||
"\vevent_count\x18\n" +
|
||||
" \x01(\x03R\n" +
|
||||
"eventCount\"\x8f\x01\n" +
|
||||
"\vHistoryBlob\x12J\n" +
|
||||
"\x06header\x18\x01 \x01(\v22.temporal.server.api.archiver.v1.HistoryBlobHeaderR\x06header\x124\n" +
|
||||
"\x04body\x18\x02 \x03(\v2 .temporal.api.history.v1.HistoryR\x04body\"\xca\x06\n" +
|
||||
"\x10VisibilityRecord\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x1c\n" +
|
||||
"\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x1f\n" +
|
||||
"\vworkflow_id\x18\x03 \x01(\tR\n" +
|
||||
"workflowId\x12\x15\n" +
|
||||
"\x06run_id\x18\x04 \x01(\tR\x05runId\x12,\n" +
|
||||
"\x12workflow_type_name\x18\x05 \x01(\tR\x10workflowTypeName\x129\n" +
|
||||
"\n" +
|
||||
"start_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x12A\n" +
|
||||
"\x0eexecution_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\rexecutionTime\x129\n" +
|
||||
"\n" +
|
||||
"close_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x12F\n" +
|
||||
"\x06status\x18\t \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06status\x12%\n" +
|
||||
"\x0ehistory_length\x18\n" +
|
||||
" \x01(\x03R\rhistoryLength\x120\n" +
|
||||
"\x04memo\x18\v \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12t\n" +
|
||||
"\x11search_attributes\x18\f \x03(\v2G.temporal.server.api.archiver.v1.VisibilityRecord.SearchAttributesEntryR\x10searchAttributes\x120\n" +
|
||||
"\x14history_archival_uri\x18\r \x01(\tR\x12historyArchivalUri\x12H\n" +
|
||||
"\x12execution_duration\x18\x0e \x01(\v2\x19.google.protobuf.DurationR\x11executionDuration\x1aC\n" +
|
||||
"\x15SearchAttributesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B0Z.go.temporal.io/server/api/archiver/v1;archiverb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_archiver_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_archiver_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_archiver_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_archiver_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_archiver_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_archiver_v1_message_proto_rawDesc), len(file_temporal_server_api_archiver_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_archiver_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_archiver_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_temporal_server_api_archiver_v1_message_proto_goTypes = []any{
|
||||
(*HistoryBlobHeader)(nil), // 0: temporal.server.api.archiver.v1.HistoryBlobHeader
|
||||
(*HistoryBlob)(nil), // 1: temporal.server.api.archiver.v1.HistoryBlob
|
||||
(*VisibilityRecord)(nil), // 2: temporal.server.api.archiver.v1.VisibilityRecord
|
||||
nil, // 3: temporal.server.api.archiver.v1.VisibilityRecord.SearchAttributesEntry
|
||||
(*v1.History)(nil), // 4: temporal.api.history.v1.History
|
||||
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
||||
(v11.WorkflowExecutionStatus)(0), // 6: temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
(*v12.Memo)(nil), // 7: temporal.api.common.v1.Memo
|
||||
(*durationpb.Duration)(nil), // 8: google.protobuf.Duration
|
||||
}
|
||||
var file_temporal_server_api_archiver_v1_message_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.archiver.v1.HistoryBlob.header:type_name -> temporal.server.api.archiver.v1.HistoryBlobHeader
|
||||
4, // 1: temporal.server.api.archiver.v1.HistoryBlob.body:type_name -> temporal.api.history.v1.History
|
||||
5, // 2: temporal.server.api.archiver.v1.VisibilityRecord.start_time:type_name -> google.protobuf.Timestamp
|
||||
5, // 3: temporal.server.api.archiver.v1.VisibilityRecord.execution_time:type_name -> google.protobuf.Timestamp
|
||||
5, // 4: temporal.server.api.archiver.v1.VisibilityRecord.close_time:type_name -> google.protobuf.Timestamp
|
||||
6, // 5: temporal.server.api.archiver.v1.VisibilityRecord.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
7, // 6: temporal.server.api.archiver.v1.VisibilityRecord.memo:type_name -> temporal.api.common.v1.Memo
|
||||
3, // 7: temporal.server.api.archiver.v1.VisibilityRecord.search_attributes:type_name -> temporal.server.api.archiver.v1.VisibilityRecord.SearchAttributesEntry
|
||||
8, // 8: temporal.server.api.archiver.v1.VisibilityRecord.execution_duration:type_name -> google.protobuf.Duration
|
||||
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_server_api_archiver_v1_message_proto_init() }
|
||||
func file_temporal_server_api_archiver_v1_message_proto_init() {
|
||||
if File_temporal_server_api_archiver_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_server_api_archiver_v1_message_proto_rawDesc), len(file_temporal_server_api_archiver_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_archiver_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_archiver_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_archiver_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_archiver_v1_message_proto = out.File
|
||||
file_temporal_server_api_archiver_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_archiver_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package batch
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type BatchOperationInput to the protobuf v3 wire format
|
||||
func (val *BatchOperationInput) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type BatchOperationInput from the protobuf v3 wire format
|
||||
func (val *BatchOperationInput) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *BatchOperationInput) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two BatchOperationInput values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *BatchOperationInput) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *BatchOperationInput
|
||||
switch t := that.(type) {
|
||||
case *BatchOperationInput:
|
||||
that1 = t
|
||||
case BatchOperationInput:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,204 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/batch/v1/request_response.proto
|
||||
|
||||
package batch
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/enums/v1"
|
||||
v11 "go.temporal.io/api/workflowservice/v1"
|
||||
v12 "github.com/hanzoai/tasks/api/adminservice/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
||||
)
|
||||
|
||||
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 BatchOperationInput struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
Concurrency int64 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
|
||||
AttemptsOnRetryableError int64 `protobuf:"varint,3,opt,name=attempts_on_retryable_error,json=attemptsOnRetryableError,proto3" json:"attempts_on_retryable_error,omitempty"`
|
||||
ActivityHeartbeatTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=activity_heartbeat_timeout,json=activityHeartbeatTimeout,proto3" json:"activity_heartbeat_timeout,omitempty"`
|
||||
NonRetryableErrors []string `protobuf:"bytes,5,rep,name=non_retryable_errors,json=nonRetryableErrors,proto3" json:"non_retryable_errors,omitempty"`
|
||||
// Only needed if StartBatchOperationRequest request is set.
|
||||
BatchType v1.BatchOperationType `protobuf:"varint,6,opt,name=batch_type,json=batchType,proto3,enum=temporal.api.enums.v1.BatchOperationType" json:"batch_type,omitempty"`
|
||||
// The request to start the batch operation.
|
||||
// Mutually exclusive with StartAdminBatchOperationRequest admin_request.
|
||||
Request *v11.StartBatchOperationRequest `protobuf:"bytes,7,opt,name=request,proto3" json:"request,omitempty"`
|
||||
// The request to start an admin batch operation.
|
||||
// Mutually exclusive with StartBatchOperationRequest request.
|
||||
AdminRequest *v12.StartAdminBatchOperationRequest `protobuf:"bytes,8,opt,name=admin_request,json=adminRequest,proto3" json:"admin_request,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) Reset() {
|
||||
*x = BatchOperationInput{}
|
||||
mi := &file_temporal_server_api_batch_v1_request_response_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BatchOperationInput) ProtoMessage() {}
|
||||
|
||||
func (x *BatchOperationInput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_batch_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 BatchOperationInput.ProtoReflect.Descriptor instead.
|
||||
func (*BatchOperationInput) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_batch_v1_request_response_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetConcurrency() int64 {
|
||||
if x != nil {
|
||||
return x.Concurrency
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetAttemptsOnRetryableError() int64 {
|
||||
if x != nil {
|
||||
return x.AttemptsOnRetryableError
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetActivityHeartbeatTimeout() *durationpb.Duration {
|
||||
if x != nil {
|
||||
return x.ActivityHeartbeatTimeout
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetNonRetryableErrors() []string {
|
||||
if x != nil {
|
||||
return x.NonRetryableErrors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetBatchType() v1.BatchOperationType {
|
||||
if x != nil {
|
||||
return x.BatchType
|
||||
}
|
||||
return v1.BatchOperationType(0)
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetRequest() *v11.StartBatchOperationRequest {
|
||||
if x != nil {
|
||||
return x.Request
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BatchOperationInput) GetAdminRequest() *v12.StartAdminBatchOperationRequest {
|
||||
if x != nil {
|
||||
return x.AdminRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_batch_v1_request_response_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_batch_v1_request_response_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"3temporal/server/api/batch/v1/request_response.proto\x12\x1ctemporal.server.api.batch.v1\x1a6temporal/api/workflowservice/v1/request_response.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a:temporal/server/api/adminservice/v1/request_response.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb0\x04\n" +
|
||||
"\x13BatchOperationInput\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12 \n" +
|
||||
"\vconcurrency\x18\x02 \x01(\x03R\vconcurrency\x12=\n" +
|
||||
"\x1battempts_on_retryable_error\x18\x03 \x01(\x03R\x18attemptsOnRetryableError\x12W\n" +
|
||||
"\x1aactivity_heartbeat_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x18activityHeartbeatTimeout\x120\n" +
|
||||
"\x14non_retryable_errors\x18\x05 \x03(\tR\x12nonRetryableErrors\x12H\n" +
|
||||
"\n" +
|
||||
"batch_type\x18\x06 \x01(\x0e2).temporal.api.enums.v1.BatchOperationTypeR\tbatchType\x12U\n" +
|
||||
"\arequest\x18\a \x01(\v2;.temporal.api.workflowservice.v1.StartBatchOperationRequestR\arequest\x12i\n" +
|
||||
"\radmin_request\x18\b \x01(\v2D.temporal.server.api.adminservice.v1.StartAdminBatchOperationRequestR\fadminRequestB*Z(go.temporal.io/server/api/batch/v1;batchb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_batch_v1_request_response_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_batch_v1_request_response_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_batch_v1_request_response_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_batch_v1_request_response_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_batch_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_batch_v1_request_response_proto_rawDesc), len(file_temporal_server_api_batch_v1_request_response_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_batch_v1_request_response_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_batch_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_temporal_server_api_batch_v1_request_response_proto_goTypes = []any{
|
||||
(*BatchOperationInput)(nil), // 0: temporal.server.api.batch.v1.BatchOperationInput
|
||||
(*durationpb.Duration)(nil), // 1: google.protobuf.Duration
|
||||
(v1.BatchOperationType)(0), // 2: temporal.api.enums.v1.BatchOperationType
|
||||
(*v11.StartBatchOperationRequest)(nil), // 3: temporal.api.workflowservice.v1.StartBatchOperationRequest
|
||||
(*v12.StartAdminBatchOperationRequest)(nil), // 4: temporal.server.api.adminservice.v1.StartAdminBatchOperationRequest
|
||||
}
|
||||
var file_temporal_server_api_batch_v1_request_response_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.batch.v1.BatchOperationInput.activity_heartbeat_timeout:type_name -> google.protobuf.Duration
|
||||
2, // 1: temporal.server.api.batch.v1.BatchOperationInput.batch_type:type_name -> temporal.api.enums.v1.BatchOperationType
|
||||
3, // 2: temporal.server.api.batch.v1.BatchOperationInput.request:type_name -> temporal.api.workflowservice.v1.StartBatchOperationRequest
|
||||
4, // 3: temporal.server.api.batch.v1.BatchOperationInput.admin_request:type_name -> temporal.server.api.adminservice.v1.StartAdminBatchOperationRequest
|
||||
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_server_api_batch_v1_request_response_proto_init() }
|
||||
func file_temporal_server_api_batch_v1_request_response_proto_init() {
|
||||
if File_temporal_server_api_batch_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_server_api_batch_v1_request_response_proto_rawDesc), len(file_temporal_server_api_batch_v1_request_response_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_batch_v1_request_response_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_batch_v1_request_response_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_batch_v1_request_response_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_batch_v1_request_response_proto = out.File
|
||||
file_temporal_server_api_batch_v1_request_response_proto_goTypes = nil
|
||||
file_temporal_server_api_batch_v1_request_response_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package checksum
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type MutableStateChecksumPayload to the protobuf v3 wire format
|
||||
func (val *MutableStateChecksumPayload) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type MutableStateChecksumPayload from the protobuf v3 wire format
|
||||
func (val *MutableStateChecksumPayload) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *MutableStateChecksumPayload) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two MutableStateChecksumPayload values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *MutableStateChecksumPayload) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *MutableStateChecksumPayload
|
||||
switch t := that.(type) {
|
||||
case *MutableStateChecksumPayload:
|
||||
that1 = t
|
||||
case MutableStateChecksumPayload:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,358 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/checksum/v1/message.proto
|
||||
|
||||
package checksum
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v11 "go.temporal.io/api/enums/v1"
|
||||
v1 "github.com/hanzoai/tasks/api/enums/v1"
|
||||
v12 "github.com/hanzoai/tasks/api/history/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 MutableStateChecksumPayload struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
|
||||
State v1.WorkflowExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.server.api.enums.v1.WorkflowExecutionState" json:"state,omitempty"`
|
||||
Status v11.WorkflowExecutionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"`
|
||||
LastWriteVersion int64 `protobuf:"varint,4,opt,name=last_write_version,json=lastWriteVersion,proto3" json:"last_write_version,omitempty"`
|
||||
LastWriteEventId int64 `protobuf:"varint,5,opt,name=last_write_event_id,json=lastWriteEventId,proto3" json:"last_write_event_id,omitempty"`
|
||||
LastFirstEventId int64 `protobuf:"varint,6,opt,name=last_first_event_id,json=lastFirstEventId,proto3" json:"last_first_event_id,omitempty"`
|
||||
NextEventId int64 `protobuf:"varint,7,opt,name=next_event_id,json=nextEventId,proto3" json:"next_event_id,omitempty"`
|
||||
LastProcessedEventId int64 `protobuf:"varint,8,opt,name=last_processed_event_id,json=lastProcessedEventId,proto3" json:"last_processed_event_id,omitempty"`
|
||||
SignalCount int64 `protobuf:"varint,9,opt,name=signal_count,json=signalCount,proto3" json:"signal_count,omitempty"`
|
||||
ActivityCount int64 `protobuf:"varint,21,opt,name=activity_count,json=activityCount,proto3" json:"activity_count,omitempty"`
|
||||
ChildExecutionCount int64 `protobuf:"varint,22,opt,name=child_execution_count,json=childExecutionCount,proto3" json:"child_execution_count,omitempty"`
|
||||
UserTimerCount int64 `protobuf:"varint,23,opt,name=user_timer_count,json=userTimerCount,proto3" json:"user_timer_count,omitempty"`
|
||||
RequestCancelExternalCount int64 `protobuf:"varint,24,opt,name=request_cancel_external_count,json=requestCancelExternalCount,proto3" json:"request_cancel_external_count,omitempty"`
|
||||
SignalExternalCount int64 `protobuf:"varint,25,opt,name=signal_external_count,json=signalExternalCount,proto3" json:"signal_external_count,omitempty"`
|
||||
WorkflowTaskAttempt int32 `protobuf:"varint,10,opt,name=workflow_task_attempt,json=workflowTaskAttempt,proto3" json:"workflow_task_attempt,omitempty"`
|
||||
WorkflowTaskVersion int64 `protobuf:"varint,11,opt,name=workflow_task_version,json=workflowTaskVersion,proto3" json:"workflow_task_version,omitempty"`
|
||||
WorkflowTaskScheduledEventId int64 `protobuf:"varint,12,opt,name=workflow_task_scheduled_event_id,json=workflowTaskScheduledEventId,proto3" json:"workflow_task_scheduled_event_id,omitempty"`
|
||||
WorkflowTaskStartedEventId int64 `protobuf:"varint,13,opt,name=workflow_task_started_event_id,json=workflowTaskStartedEventId,proto3" json:"workflow_task_started_event_id,omitempty"`
|
||||
PendingTimerStartedEventIds []int64 `protobuf:"varint,14,rep,packed,name=pending_timer_started_event_ids,json=pendingTimerStartedEventIds,proto3" json:"pending_timer_started_event_ids,omitempty"`
|
||||
PendingActivityScheduledEventIds []int64 `protobuf:"varint,15,rep,packed,name=pending_activity_scheduled_event_ids,json=pendingActivityScheduledEventIds,proto3" json:"pending_activity_scheduled_event_ids,omitempty"`
|
||||
PendingSignalInitiatedEventIds []int64 `protobuf:"varint,16,rep,packed,name=pending_signal_initiated_event_ids,json=pendingSignalInitiatedEventIds,proto3" json:"pending_signal_initiated_event_ids,omitempty"`
|
||||
PendingReqCancelInitiatedEventIds []int64 `protobuf:"varint,17,rep,packed,name=pending_req_cancel_initiated_event_ids,json=pendingReqCancelInitiatedEventIds,proto3" json:"pending_req_cancel_initiated_event_ids,omitempty"`
|
||||
PendingChildInitiatedEventIds []int64 `protobuf:"varint,18,rep,packed,name=pending_child_initiated_event_ids,json=pendingChildInitiatedEventIds,proto3" json:"pending_child_initiated_event_ids,omitempty"`
|
||||
PendingChasmNodePaths []string `protobuf:"bytes,26,rep,name=pending_chasm_node_paths,json=pendingChasmNodePaths,proto3" json:"pending_chasm_node_paths,omitempty"`
|
||||
StickyTaskQueueName string `protobuf:"bytes,19,opt,name=sticky_task_queue_name,json=stickyTaskQueueName,proto3" json:"sticky_task_queue_name,omitempty"`
|
||||
VersionHistories *v12.VersionHistories `protobuf:"bytes,20,opt,name=version_histories,json=versionHistories,proto3" json:"version_histories,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) Reset() {
|
||||
*x = MutableStateChecksumPayload{}
|
||||
mi := &file_temporal_server_api_checksum_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MutableStateChecksumPayload) ProtoMessage() {}
|
||||
|
||||
func (x *MutableStateChecksumPayload) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_checksum_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 MutableStateChecksumPayload.ProtoReflect.Descriptor instead.
|
||||
func (*MutableStateChecksumPayload) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_checksum_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetCancelRequested() bool {
|
||||
if x != nil {
|
||||
return x.CancelRequested
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetState() v1.WorkflowExecutionState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.WorkflowExecutionState(0)
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetStatus() v11.WorkflowExecutionStatus {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return v11.WorkflowExecutionStatus(0)
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetLastWriteVersion() int64 {
|
||||
if x != nil {
|
||||
return x.LastWriteVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetLastWriteEventId() int64 {
|
||||
if x != nil {
|
||||
return x.LastWriteEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetLastFirstEventId() int64 {
|
||||
if x != nil {
|
||||
return x.LastFirstEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetNextEventId() int64 {
|
||||
if x != nil {
|
||||
return x.NextEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetLastProcessedEventId() int64 {
|
||||
if x != nil {
|
||||
return x.LastProcessedEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetSignalCount() int64 {
|
||||
if x != nil {
|
||||
return x.SignalCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetActivityCount() int64 {
|
||||
if x != nil {
|
||||
return x.ActivityCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetChildExecutionCount() int64 {
|
||||
if x != nil {
|
||||
return x.ChildExecutionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetUserTimerCount() int64 {
|
||||
if x != nil {
|
||||
return x.UserTimerCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetRequestCancelExternalCount() int64 {
|
||||
if x != nil {
|
||||
return x.RequestCancelExternalCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetSignalExternalCount() int64 {
|
||||
if x != nil {
|
||||
return x.SignalExternalCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetWorkflowTaskAttempt() int32 {
|
||||
if x != nil {
|
||||
return x.WorkflowTaskAttempt
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetWorkflowTaskVersion() int64 {
|
||||
if x != nil {
|
||||
return x.WorkflowTaskVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetWorkflowTaskScheduledEventId() int64 {
|
||||
if x != nil {
|
||||
return x.WorkflowTaskScheduledEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetWorkflowTaskStartedEventId() int64 {
|
||||
if x != nil {
|
||||
return x.WorkflowTaskStartedEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingTimerStartedEventIds() []int64 {
|
||||
if x != nil {
|
||||
return x.PendingTimerStartedEventIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingActivityScheduledEventIds() []int64 {
|
||||
if x != nil {
|
||||
return x.PendingActivityScheduledEventIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingSignalInitiatedEventIds() []int64 {
|
||||
if x != nil {
|
||||
return x.PendingSignalInitiatedEventIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingReqCancelInitiatedEventIds() []int64 {
|
||||
if x != nil {
|
||||
return x.PendingReqCancelInitiatedEventIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingChildInitiatedEventIds() []int64 {
|
||||
if x != nil {
|
||||
return x.PendingChildInitiatedEventIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetPendingChasmNodePaths() []string {
|
||||
if x != nil {
|
||||
return x.PendingChasmNodePaths
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetStickyTaskQueueName() string {
|
||||
if x != nil {
|
||||
return x.StickyTaskQueueName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MutableStateChecksumPayload) GetVersionHistories() *v12.VersionHistories {
|
||||
if x != nil {
|
||||
return x.VersionHistories
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_checksum_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_checksum_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"-temporal/server/api/checksum/v1/message.proto\x12\x1ftemporal.server.api.checksum.v1\x1a$temporal/api/enums/v1/workflow.proto\x1a,temporal/server/api/history/v1/message.proto\x1a+temporal/server/api/enums/v1/workflow.proto\"\xa2\f\n" +
|
||||
"\x1bMutableStateChecksumPayload\x12)\n" +
|
||||
"\x10cancel_requested\x18\x01 \x01(\bR\x0fcancelRequested\x12J\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e24.temporal.server.api.enums.v1.WorkflowExecutionStateR\x05state\x12F\n" +
|
||||
"\x06status\x18\x03 \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06status\x12,\n" +
|
||||
"\x12last_write_version\x18\x04 \x01(\x03R\x10lastWriteVersion\x12-\n" +
|
||||
"\x13last_write_event_id\x18\x05 \x01(\x03R\x10lastWriteEventId\x12-\n" +
|
||||
"\x13last_first_event_id\x18\x06 \x01(\x03R\x10lastFirstEventId\x12\"\n" +
|
||||
"\rnext_event_id\x18\a \x01(\x03R\vnextEventId\x125\n" +
|
||||
"\x17last_processed_event_id\x18\b \x01(\x03R\x14lastProcessedEventId\x12!\n" +
|
||||
"\fsignal_count\x18\t \x01(\x03R\vsignalCount\x12%\n" +
|
||||
"\x0eactivity_count\x18\x15 \x01(\x03R\ractivityCount\x122\n" +
|
||||
"\x15child_execution_count\x18\x16 \x01(\x03R\x13childExecutionCount\x12(\n" +
|
||||
"\x10user_timer_count\x18\x17 \x01(\x03R\x0euserTimerCount\x12A\n" +
|
||||
"\x1drequest_cancel_external_count\x18\x18 \x01(\x03R\x1arequestCancelExternalCount\x122\n" +
|
||||
"\x15signal_external_count\x18\x19 \x01(\x03R\x13signalExternalCount\x122\n" +
|
||||
"\x15workflow_task_attempt\x18\n" +
|
||||
" \x01(\x05R\x13workflowTaskAttempt\x122\n" +
|
||||
"\x15workflow_task_version\x18\v \x01(\x03R\x13workflowTaskVersion\x12F\n" +
|
||||
" workflow_task_scheduled_event_id\x18\f \x01(\x03R\x1cworkflowTaskScheduledEventId\x12B\n" +
|
||||
"\x1eworkflow_task_started_event_id\x18\r \x01(\x03R\x1aworkflowTaskStartedEventId\x12D\n" +
|
||||
"\x1fpending_timer_started_event_ids\x18\x0e \x03(\x03R\x1bpendingTimerStartedEventIds\x12N\n" +
|
||||
"$pending_activity_scheduled_event_ids\x18\x0f \x03(\x03R pendingActivityScheduledEventIds\x12J\n" +
|
||||
"\"pending_signal_initiated_event_ids\x18\x10 \x03(\x03R\x1ependingSignalInitiatedEventIds\x12Q\n" +
|
||||
"&pending_req_cancel_initiated_event_ids\x18\x11 \x03(\x03R!pendingReqCancelInitiatedEventIds\x12H\n" +
|
||||
"!pending_child_initiated_event_ids\x18\x12 \x03(\x03R\x1dpendingChildInitiatedEventIds\x127\n" +
|
||||
"\x18pending_chasm_node_paths\x18\x1a \x03(\tR\x15pendingChasmNodePaths\x123\n" +
|
||||
"\x16sticky_task_queue_name\x18\x13 \x01(\tR\x13stickyTaskQueueName\x12]\n" +
|
||||
"\x11version_histories\x18\x14 \x01(\v20.temporal.server.api.history.v1.VersionHistoriesR\x10versionHistoriesB0Z.go.temporal.io/server/api/checksum/v1;checksumb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_checksum_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_checksum_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_checksum_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_checksum_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_checksum_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_checksum_v1_message_proto_rawDesc), len(file_temporal_server_api_checksum_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_checksum_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_checksum_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_temporal_server_api_checksum_v1_message_proto_goTypes = []any{
|
||||
(*MutableStateChecksumPayload)(nil), // 0: temporal.server.api.checksum.v1.MutableStateChecksumPayload
|
||||
(v1.WorkflowExecutionState)(0), // 1: temporal.server.api.enums.v1.WorkflowExecutionState
|
||||
(v11.WorkflowExecutionStatus)(0), // 2: temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
(*v12.VersionHistories)(nil), // 3: temporal.server.api.history.v1.VersionHistories
|
||||
}
|
||||
var file_temporal_server_api_checksum_v1_message_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.checksum.v1.MutableStateChecksumPayload.state:type_name -> temporal.server.api.enums.v1.WorkflowExecutionState
|
||||
2, // 1: temporal.server.api.checksum.v1.MutableStateChecksumPayload.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
3, // 2: temporal.server.api.checksum.v1.MutableStateChecksumPayload.version_histories:type_name -> temporal.server.api.history.v1.VersionHistories
|
||||
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_server_api_checksum_v1_message_proto_init() }
|
||||
func file_temporal_server_api_checksum_v1_message_proto_init() {
|
||||
if File_temporal_server_api_checksum_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_server_api_checksum_v1_message_proto_rawDesc), len(file_temporal_server_api_checksum_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_checksum_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_checksum_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_checksum_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_checksum_v1_message_proto = out.File
|
||||
file_temporal_server_api_checksum_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_checksum_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,228 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package cli
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type DescribeWorkflowExecutionResponse to the protobuf v3 wire format
|
||||
func (val *DescribeWorkflowExecutionResponse) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type DescribeWorkflowExecutionResponse from the protobuf v3 wire format
|
||||
func (val *DescribeWorkflowExecutionResponse) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *DescribeWorkflowExecutionResponse) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two DescribeWorkflowExecutionResponse values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *DescribeWorkflowExecutionResponse) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *DescribeWorkflowExecutionResponse
|
||||
switch t := that.(type) {
|
||||
case *DescribeWorkflowExecutionResponse:
|
||||
that1 = t
|
||||
case DescribeWorkflowExecutionResponse:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type WorkflowExecutionInfo to the protobuf v3 wire format
|
||||
func (val *WorkflowExecutionInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type WorkflowExecutionInfo from the protobuf v3 wire format
|
||||
func (val *WorkflowExecutionInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *WorkflowExecutionInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two WorkflowExecutionInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *WorkflowExecutionInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *WorkflowExecutionInfo
|
||||
switch t := that.(type) {
|
||||
case *WorkflowExecutionInfo:
|
||||
that1 = t
|
||||
case WorkflowExecutionInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type PendingActivityInfo to the protobuf v3 wire format
|
||||
func (val *PendingActivityInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type PendingActivityInfo from the protobuf v3 wire format
|
||||
func (val *PendingActivityInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *PendingActivityInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two PendingActivityInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *PendingActivityInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *PendingActivityInfo
|
||||
switch t := that.(type) {
|
||||
case *PendingActivityInfo:
|
||||
that1 = t
|
||||
case PendingActivityInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SearchAttributes to the protobuf v3 wire format
|
||||
func (val *SearchAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SearchAttributes from the protobuf v3 wire format
|
||||
func (val *SearchAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SearchAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SearchAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SearchAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SearchAttributes
|
||||
switch t := that.(type) {
|
||||
case *SearchAttributes:
|
||||
that1 = t
|
||||
case SearchAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type Failure to the protobuf v3 wire format
|
||||
func (val *Failure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type Failure from the protobuf v3 wire format
|
||||
func (val *Failure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *Failure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two Failure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *Failure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *Failure
|
||||
switch t := that.(type) {
|
||||
case *Failure:
|
||||
that1 = t
|
||||
case Failure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type AddSearchAttributesResponse to the protobuf v3 wire format
|
||||
func (val *AddSearchAttributesResponse) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type AddSearchAttributesResponse from the protobuf v3 wire format
|
||||
func (val *AddSearchAttributesResponse) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *AddSearchAttributesResponse) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two AddSearchAttributesResponse values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *AddSearchAttributesResponse) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *AddSearchAttributesResponse
|
||||
switch t := that.(type) {
|
||||
case *AddSearchAttributesResponse:
|
||||
that1 = t
|
||||
case AddSearchAttributesResponse:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,759 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/cli/v1/message.proto
|
||||
|
||||
package cli
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v11 "go.temporal.io/api/common/v1"
|
||||
v12 "go.temporal.io/api/enums/v1"
|
||||
v1 "go.temporal.io/api/workflow/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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 DescribeWorkflowExecutionResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ExecutionConfig *v1.WorkflowExecutionConfig `protobuf:"bytes,1,opt,name=execution_config,json=executionConfig,proto3" json:"execution_config,omitempty"`
|
||||
WorkflowExecutionInfo *WorkflowExecutionInfo `protobuf:"bytes,2,opt,name=workflow_execution_info,json=workflowExecutionInfo,proto3" json:"workflow_execution_info,omitempty"`
|
||||
PendingActivities []*PendingActivityInfo `protobuf:"bytes,3,rep,name=pending_activities,json=pendingActivities,proto3" json:"pending_activities,omitempty"`
|
||||
PendingChildren []*v1.PendingChildExecutionInfo `protobuf:"bytes,4,rep,name=pending_children,json=pendingChildren,proto3" json:"pending_children,omitempty"`
|
||||
PendingWorkflowTask *v1.PendingWorkflowTaskInfo `protobuf:"bytes,5,opt,name=pending_workflow_task,json=pendingWorkflowTask,proto3" json:"pending_workflow_task,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) Reset() {
|
||||
*x = DescribeWorkflowExecutionResponse{}
|
||||
mi := &file_temporal_server_api_cli_v1_message_proto_msgTypes[0]
|
||||
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_server_api_cli_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 DescribeWorkflowExecutionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DescribeWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) GetExecutionConfig() *v1.WorkflowExecutionConfig {
|
||||
if x != nil {
|
||||
return x.ExecutionConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo() *WorkflowExecutionInfo {
|
||||
if x != nil {
|
||||
return x.WorkflowExecutionInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) GetPendingActivities() []*PendingActivityInfo {
|
||||
if x != nil {
|
||||
return x.PendingActivities
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) GetPendingChildren() []*v1.PendingChildExecutionInfo {
|
||||
if x != nil {
|
||||
return x.PendingChildren
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DescribeWorkflowExecutionResponse) GetPendingWorkflowTask() *v1.PendingWorkflowTaskInfo {
|
||||
if x != nil {
|
||||
return x.PendingWorkflowTask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type WorkflowExecutionInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Execution *v11.WorkflowExecution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"`
|
||||
Type *v11.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 v12.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 *v11.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 *v11.Memo `protobuf:"bytes,10,opt,name=memo,proto3" json:"memo,omitempty"`
|
||||
SearchAttributes *SearchAttributes `protobuf:"bytes,11,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
||||
AutoResetPoints *v1.ResetPoints `protobuf:"bytes,12,opt,name=auto_reset_points,json=autoResetPoints,proto3" json:"auto_reset_points,omitempty"`
|
||||
StateTransitionCount int64 `protobuf:"varint,13,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
|
||||
HistorySizeBytes int64 `protobuf:"varint,14,opt,name=history_size_bytes,json=historySizeBytes,proto3" json:"history_size_bytes,omitempty"`
|
||||
MostRecentWorkerVersionStamp *v11.WorkerVersionStamp `protobuf:"bytes,15,opt,name=most_recent_worker_version_stamp,json=mostRecentWorkerVersionStamp,proto3" json:"most_recent_worker_version_stamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) Reset() {
|
||||
*x = WorkflowExecutionInfo{}
|
||||
mi := &file_temporal_server_api_cli_v1_message_proto_msgTypes[1]
|
||||
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_server_api_cli_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 WorkflowExecutionInfo.ProtoReflect.Descriptor instead.
|
||||
func (*WorkflowExecutionInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) GetExecution() *v11.WorkflowExecution {
|
||||
if x != nil {
|
||||
return x.Execution
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) GetType() *v11.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() v12.WorkflowExecutionStatus {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return v12.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() *v11.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() *v11.Memo {
|
||||
if x != nil {
|
||||
return x.Memo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) GetSearchAttributes() *SearchAttributes {
|
||||
if x != nil {
|
||||
return x.SearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) GetAutoResetPoints() *v1.ResetPoints {
|
||||
if x != nil {
|
||||
return x.AutoResetPoints
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
func (x *WorkflowExecutionInfo) GetMostRecentWorkerVersionStamp() *v11.WorkerVersionStamp {
|
||||
if x != nil {
|
||||
return x.MostRecentWorkerVersionStamp
|
||||
}
|
||||
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 *v11.ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
|
||||
State v12.PendingActivityState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.PendingActivityState" json:"state,omitempty"`
|
||||
HeartbeatDetails string `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 *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"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) Reset() {
|
||||
*x = PendingActivityInfo{}
|
||||
mi := &file_temporal_server_api_cli_v1_message_proto_msgTypes[2]
|
||||
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_server_api_cli_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 PendingActivityInfo.ProtoReflect.Descriptor instead.
|
||||
func (*PendingActivityInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) GetActivityId() string {
|
||||
if x != nil {
|
||||
return x.ActivityId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) GetActivityType() *v11.ActivityType {
|
||||
if x != nil {
|
||||
return x.ActivityType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) GetState() v12.PendingActivityState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v12.PendingActivityState(0)
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) GetHeartbeatDetails() string {
|
||||
if x != nil {
|
||||
return x.HeartbeatDetails
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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() *Failure {
|
||||
if x != nil {
|
||||
return x.LastFailure
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PendingActivityInfo) GetLastWorkerIdentity() string {
|
||||
if x != nil {
|
||||
return x.LastWorkerIdentity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SearchAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
IndexedFields map[string]string `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_server_api_cli_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_server_api_cli_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_server_api_cli_v1_message_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SearchAttributes) GetIndexedFields() map[string]string {
|
||||
if x != nil {
|
||||
return x.IndexedFields
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type Failure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
||||
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"`
|
||||
Cause *Failure `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause,omitempty"`
|
||||
FailureType string `protobuf:"bytes,5,opt,name=failure_type,json=failureType,proto3" json:"failure_type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Failure) Reset() {
|
||||
*x = Failure{}
|
||||
mi := &file_temporal_server_api_cli_v1_message_proto_msgTypes[4]
|
||||
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_server_api_cli_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 Failure.ProtoReflect.Descriptor instead.
|
||||
func (*Failure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
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) GetCause() *Failure {
|
||||
if x != nil {
|
||||
return x.Cause
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Failure) GetFailureType() string {
|
||||
if x != nil {
|
||||
return x.FailureType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type AddSearchAttributesResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
||||
CustomSearchAttributes map[string]string `protobuf:"bytes,2,rep,name=custom_search_attributes,json=customSearchAttributes,proto3" json:"custom_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
SystemSearchAttributes map[string]string `protobuf:"bytes,3,rep,name=system_search_attributes,json=systemSearchAttributes,proto3" json:"system_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Mapping map[string]string `protobuf:"bytes,4,rep,name=mapping,proto3" json:"mapping,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
AddWorkflowExecutionInfo *WorkflowExecutionInfo `protobuf:"bytes,5,opt,name=add_workflow_execution_info,json=addWorkflowExecutionInfo,proto3" json:"add_workflow_execution_info,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) Reset() {
|
||||
*x = AddSearchAttributesResponse{}
|
||||
mi := &file_temporal_server_api_cli_v1_message_proto_msgTypes[5]
|
||||
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_server_api_cli_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 AddSearchAttributesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*AddSearchAttributesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) GetIndexName() string {
|
||||
if x != nil {
|
||||
return x.IndexName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) GetCustomSearchAttributes() map[string]string {
|
||||
if x != nil {
|
||||
return x.CustomSearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) GetSystemSearchAttributes() map[string]string {
|
||||
if x != nil {
|
||||
return x.SystemSearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) GetMapping() map[string]string {
|
||||
if x != nil {
|
||||
return x.Mapping
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AddSearchAttributesResponse) GetAddWorkflowExecutionInfo() *WorkflowExecutionInfo {
|
||||
if x != nil {
|
||||
return x.AddWorkflowExecutionInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_cli_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_cli_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"(temporal/server/api/cli/v1/message.proto\x12\x1atemporal.server.api.cli.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto\"\x93\x04\n" +
|
||||
"!DescribeWorkflowExecutionResponse\x12\\\n" +
|
||||
"\x10execution_config\x18\x01 \x01(\v21.temporal.api.workflow.v1.WorkflowExecutionConfigR\x0fexecutionConfig\x12i\n" +
|
||||
"\x17workflow_execution_info\x18\x02 \x01(\v21.temporal.server.api.cli.v1.WorkflowExecutionInfoR\x15workflowExecutionInfo\x12^\n" +
|
||||
"\x12pending_activities\x18\x03 \x03(\v2/.temporal.server.api.cli.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\"\x80\b\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\x12Y\n" +
|
||||
"\x11search_attributes\x18\v \x01(\v2,.temporal.server.api.cli.v1.SearchAttributesR\x10searchAttributes\x12Q\n" +
|
||||
"\x11auto_reset_points\x18\f \x01(\v2%.temporal.api.workflow.v1.ResetPointsR\x0fautoResetPoints\x124\n" +
|
||||
"\x16state_transition_count\x18\r \x01(\x03R\x14stateTransitionCount\x12,\n" +
|
||||
"\x12history_size_bytes\x18\x0e \x01(\x03R\x10historySizeBytes\x12r\n" +
|
||||
" most_recent_worker_version_stamp\x18\x0f \x01(\v2*.temporal.api.common.v1.WorkerVersionStampR\x1cmostRecentWorkerVersionStamp\"\xcc\x05\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\x12+\n" +
|
||||
"\x11heartbeat_details\x18\x04 \x01(\tR\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\x12F\n" +
|
||||
"\flast_failure\x18\v \x01(\v2#.temporal.server.api.cli.v1.FailureR\vlastFailure\x120\n" +
|
||||
"\x14last_worker_identity\x18\f \x01(\tR\x12lastWorkerIdentity\"\xbc\x01\n" +
|
||||
"\x10SearchAttributes\x12f\n" +
|
||||
"\x0eindexed_fields\x18\x01 \x03(\v2?.temporal.server.api.cli.v1.SearchAttributes.IndexedFieldsEntryR\rindexedFields\x1a@\n" +
|
||||
"\x12IndexedFieldsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xba\x01\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\x129\n" +
|
||||
"\x05cause\x18\x04 \x01(\v2#.temporal.server.api.cli.v1.FailureR\x05cause\x12!\n" +
|
||||
"\ffailure_type\x18\x05 \x01(\tR\vfailureType\"\x80\x06\n" +
|
||||
"\x1bAddSearchAttributesResponse\x12\x1d\n" +
|
||||
"\n" +
|
||||
"index_name\x18\x01 \x01(\tR\tindexName\x12\x8d\x01\n" +
|
||||
"\x18custom_search_attributes\x18\x02 \x03(\v2S.temporal.server.api.cli.v1.AddSearchAttributesResponse.CustomSearchAttributesEntryR\x16customSearchAttributes\x12\x8d\x01\n" +
|
||||
"\x18system_search_attributes\x18\x03 \x03(\v2S.temporal.server.api.cli.v1.AddSearchAttributesResponse.SystemSearchAttributesEntryR\x16systemSearchAttributes\x12^\n" +
|
||||
"\amapping\x18\x04 \x03(\v2D.temporal.server.api.cli.v1.AddSearchAttributesResponse.MappingEntryR\amapping\x12p\n" +
|
||||
"\x1badd_workflow_execution_info\x18\x05 \x01(\v21.temporal.server.api.cli.v1.WorkflowExecutionInfoR\x18addWorkflowExecutionInfo\x1aI\n" +
|
||||
"\x1bCustomSearchAttributesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aI\n" +
|
||||
"\x1bSystemSearchAttributesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a:\n" +
|
||||
"\fMappingEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B&Z$go.temporal.io/server/api/cli/v1;clib\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_cli_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_cli_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_cli_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_cli_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_cli_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_cli_v1_message_proto_rawDesc), len(file_temporal_server_api_cli_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_cli_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_cli_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_temporal_server_api_cli_v1_message_proto_goTypes = []any{
|
||||
(*DescribeWorkflowExecutionResponse)(nil), // 0: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse
|
||||
(*WorkflowExecutionInfo)(nil), // 1: temporal.server.api.cli.v1.WorkflowExecutionInfo
|
||||
(*PendingActivityInfo)(nil), // 2: temporal.server.api.cli.v1.PendingActivityInfo
|
||||
(*SearchAttributes)(nil), // 3: temporal.server.api.cli.v1.SearchAttributes
|
||||
(*Failure)(nil), // 4: temporal.server.api.cli.v1.Failure
|
||||
(*AddSearchAttributesResponse)(nil), // 5: temporal.server.api.cli.v1.AddSearchAttributesResponse
|
||||
nil, // 6: temporal.server.api.cli.v1.SearchAttributes.IndexedFieldsEntry
|
||||
nil, // 7: temporal.server.api.cli.v1.AddSearchAttributesResponse.CustomSearchAttributesEntry
|
||||
nil, // 8: temporal.server.api.cli.v1.AddSearchAttributesResponse.SystemSearchAttributesEntry
|
||||
nil, // 9: temporal.server.api.cli.v1.AddSearchAttributesResponse.MappingEntry
|
||||
(*v1.WorkflowExecutionConfig)(nil), // 10: temporal.api.workflow.v1.WorkflowExecutionConfig
|
||||
(*v1.PendingChildExecutionInfo)(nil), // 11: temporal.api.workflow.v1.PendingChildExecutionInfo
|
||||
(*v1.PendingWorkflowTaskInfo)(nil), // 12: temporal.api.workflow.v1.PendingWorkflowTaskInfo
|
||||
(*v11.WorkflowExecution)(nil), // 13: temporal.api.common.v1.WorkflowExecution
|
||||
(*v11.WorkflowType)(nil), // 14: temporal.api.common.v1.WorkflowType
|
||||
(*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp
|
||||
(v12.WorkflowExecutionStatus)(0), // 16: temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
(*v11.Memo)(nil), // 17: temporal.api.common.v1.Memo
|
||||
(*v1.ResetPoints)(nil), // 18: temporal.api.workflow.v1.ResetPoints
|
||||
(*v11.WorkerVersionStamp)(nil), // 19: temporal.api.common.v1.WorkerVersionStamp
|
||||
(*v11.ActivityType)(nil), // 20: temporal.api.common.v1.ActivityType
|
||||
(v12.PendingActivityState)(0), // 21: temporal.api.enums.v1.PendingActivityState
|
||||
}
|
||||
var file_temporal_server_api_cli_v1_message_proto_depIdxs = []int32{
|
||||
10, // 0: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse.execution_config:type_name -> temporal.api.workflow.v1.WorkflowExecutionConfig
|
||||
1, // 1: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse.workflow_execution_info:type_name -> temporal.server.api.cli.v1.WorkflowExecutionInfo
|
||||
2, // 2: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse.pending_activities:type_name -> temporal.server.api.cli.v1.PendingActivityInfo
|
||||
11, // 3: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse.pending_children:type_name -> temporal.api.workflow.v1.PendingChildExecutionInfo
|
||||
12, // 4: temporal.server.api.cli.v1.DescribeWorkflowExecutionResponse.pending_workflow_task:type_name -> temporal.api.workflow.v1.PendingWorkflowTaskInfo
|
||||
13, // 5: temporal.server.api.cli.v1.WorkflowExecutionInfo.execution:type_name -> temporal.api.common.v1.WorkflowExecution
|
||||
14, // 6: temporal.server.api.cli.v1.WorkflowExecutionInfo.type:type_name -> temporal.api.common.v1.WorkflowType
|
||||
15, // 7: temporal.server.api.cli.v1.WorkflowExecutionInfo.start_time:type_name -> google.protobuf.Timestamp
|
||||
15, // 8: temporal.server.api.cli.v1.WorkflowExecutionInfo.close_time:type_name -> google.protobuf.Timestamp
|
||||
16, // 9: temporal.server.api.cli.v1.WorkflowExecutionInfo.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus
|
||||
13, // 10: temporal.server.api.cli.v1.WorkflowExecutionInfo.parent_execution:type_name -> temporal.api.common.v1.WorkflowExecution
|
||||
15, // 11: temporal.server.api.cli.v1.WorkflowExecutionInfo.execution_time:type_name -> google.protobuf.Timestamp
|
||||
17, // 12: temporal.server.api.cli.v1.WorkflowExecutionInfo.memo:type_name -> temporal.api.common.v1.Memo
|
||||
3, // 13: temporal.server.api.cli.v1.WorkflowExecutionInfo.search_attributes:type_name -> temporal.server.api.cli.v1.SearchAttributes
|
||||
18, // 14: temporal.server.api.cli.v1.WorkflowExecutionInfo.auto_reset_points:type_name -> temporal.api.workflow.v1.ResetPoints
|
||||
19, // 15: temporal.server.api.cli.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp:type_name -> temporal.api.common.v1.WorkerVersionStamp
|
||||
20, // 16: temporal.server.api.cli.v1.PendingActivityInfo.activity_type:type_name -> temporal.api.common.v1.ActivityType
|
||||
21, // 17: temporal.server.api.cli.v1.PendingActivityInfo.state:type_name -> temporal.api.enums.v1.PendingActivityState
|
||||
15, // 18: temporal.server.api.cli.v1.PendingActivityInfo.last_heartbeat_time:type_name -> google.protobuf.Timestamp
|
||||
15, // 19: temporal.server.api.cli.v1.PendingActivityInfo.last_started_time:type_name -> google.protobuf.Timestamp
|
||||
15, // 20: temporal.server.api.cli.v1.PendingActivityInfo.scheduled_time:type_name -> google.protobuf.Timestamp
|
||||
15, // 21: temporal.server.api.cli.v1.PendingActivityInfo.expiration_time:type_name -> google.protobuf.Timestamp
|
||||
4, // 22: temporal.server.api.cli.v1.PendingActivityInfo.last_failure:type_name -> temporal.server.api.cli.v1.Failure
|
||||
6, // 23: temporal.server.api.cli.v1.SearchAttributes.indexed_fields:type_name -> temporal.server.api.cli.v1.SearchAttributes.IndexedFieldsEntry
|
||||
4, // 24: temporal.server.api.cli.v1.Failure.cause:type_name -> temporal.server.api.cli.v1.Failure
|
||||
7, // 25: temporal.server.api.cli.v1.AddSearchAttributesResponse.custom_search_attributes:type_name -> temporal.server.api.cli.v1.AddSearchAttributesResponse.CustomSearchAttributesEntry
|
||||
8, // 26: temporal.server.api.cli.v1.AddSearchAttributesResponse.system_search_attributes:type_name -> temporal.server.api.cli.v1.AddSearchAttributesResponse.SystemSearchAttributesEntry
|
||||
9, // 27: temporal.server.api.cli.v1.AddSearchAttributesResponse.mapping:type_name -> temporal.server.api.cli.v1.AddSearchAttributesResponse.MappingEntry
|
||||
1, // 28: temporal.server.api.cli.v1.AddSearchAttributesResponse.add_workflow_execution_info:type_name -> temporal.server.api.cli.v1.WorkflowExecutionInfo
|
||||
29, // [29:29] is the sub-list for method output_type
|
||||
29, // [29:29] is the sub-list for method input_type
|
||||
29, // [29:29] is the sub-list for extension type_name
|
||||
29, // [29:29] is the sub-list for extension extendee
|
||||
0, // [0:29] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_cli_v1_message_proto_init() }
|
||||
func file_temporal_server_api_cli_v1_message_proto_init() {
|
||||
if File_temporal_server_api_cli_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_server_api_cli_v1_message_proto_rawDesc), len(file_temporal_server_api_cli_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_cli_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_cli_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_cli_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_cli_v1_message_proto = out.File
|
||||
file_temporal_server_api_cli_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_cli_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package clock
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type VectorClock to the protobuf v3 wire format
|
||||
func (val *VectorClock) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VectorClock from the protobuf v3 wire format
|
||||
func (val *VectorClock) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VectorClock) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VectorClock values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VectorClock) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VectorClock
|
||||
switch t := that.(type) {
|
||||
case *VectorClock:
|
||||
that1 = t
|
||||
case VectorClock:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HybridLogicalClock to the protobuf v3 wire format
|
||||
func (val *HybridLogicalClock) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HybridLogicalClock from the protobuf v3 wire format
|
||||
func (val *HybridLogicalClock) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HybridLogicalClock) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HybridLogicalClock values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HybridLogicalClock) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HybridLogicalClock
|
||||
switch t := that.(type) {
|
||||
case *HybridLogicalClock:
|
||||
that1 = t
|
||||
case HybridLogicalClock:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,217 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/clock/v1/message.proto
|
||||
|
||||
package clock
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 VectorClock struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
||||
Clock int64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||
ClusterId int64 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VectorClock) Reset() {
|
||||
*x = VectorClock{}
|
||||
mi := &file_temporal_server_api_clock_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VectorClock) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VectorClock) ProtoMessage() {}
|
||||
|
||||
func (x *VectorClock) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_clock_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 VectorClock.ProtoReflect.Descriptor instead.
|
||||
func (*VectorClock) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_clock_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *VectorClock) GetShardId() int32 {
|
||||
if x != nil {
|
||||
return x.ShardId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VectorClock) GetClock() int64 {
|
||||
if x != nil {
|
||||
return x.Clock
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VectorClock) GetClusterId() int64 {
|
||||
if x != nil {
|
||||
return x.ClusterId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A Hybrid Logical Clock timestamp.
|
||||
// Guarantees strict total ordering for conflict resolution purposes.
|
||||
type HybridLogicalClock struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Wall clock - A single time source MUST guarantee that 2 consecutive timestamps are monotonically non-decreasing.
|
||||
// e.g. by storing the last wall clock and returning max(gettimeofday(), lastWallClock).
|
||||
WallClock int64 `protobuf:"varint,1,opt,name=wall_clock,json=wallClock,proto3" json:"wall_clock,omitempty"`
|
||||
// Incremental sequence that is reset every time the system's wallclock moves forward.
|
||||
// Ensures the clock generates monotonically increasing timestamps.
|
||||
Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
||||
// The cluster version ID as described in the XDC docs - used as a tie breaker.
|
||||
// See: https://github.com/uber/cadence/blob/master/docs/design/2290-cadence-ndc.md
|
||||
ClusterId int64 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HybridLogicalClock) Reset() {
|
||||
*x = HybridLogicalClock{}
|
||||
mi := &file_temporal_server_api_clock_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HybridLogicalClock) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HybridLogicalClock) ProtoMessage() {}
|
||||
|
||||
func (x *HybridLogicalClock) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_clock_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 HybridLogicalClock.ProtoReflect.Descriptor instead.
|
||||
func (*HybridLogicalClock) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_clock_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *HybridLogicalClock) GetWallClock() int64 {
|
||||
if x != nil {
|
||||
return x.WallClock
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HybridLogicalClock) GetVersion() int32 {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HybridLogicalClock) GetClusterId() int64 {
|
||||
if x != nil {
|
||||
return x.ClusterId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_clock_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_clock_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"*temporal/server/api/clock/v1/message.proto\x12\x1ctemporal.server.api.clock.v1\"]\n" +
|
||||
"\vVectorClock\x12\x19\n" +
|
||||
"\bshard_id\x18\x01 \x01(\x05R\ashardId\x12\x14\n" +
|
||||
"\x05clock\x18\x02 \x01(\x03R\x05clock\x12\x1d\n" +
|
||||
"\n" +
|
||||
"cluster_id\x18\x03 \x01(\x03R\tclusterId\"l\n" +
|
||||
"\x12HybridLogicalClock\x12\x1d\n" +
|
||||
"\n" +
|
||||
"wall_clock\x18\x01 \x01(\x03R\twallClock\x12\x18\n" +
|
||||
"\aversion\x18\x02 \x01(\x05R\aversion\x12\x1d\n" +
|
||||
"\n" +
|
||||
"cluster_id\x18\x03 \x01(\x03R\tclusterIdB*Z(go.temporal.io/server/api/clock/v1;clockb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_clock_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_clock_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_clock_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_clock_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_clock_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_clock_v1_message_proto_rawDesc), len(file_temporal_server_api_clock_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_clock_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_clock_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_temporal_server_api_clock_v1_message_proto_goTypes = []any{
|
||||
(*VectorClock)(nil), // 0: temporal.server.api.clock.v1.VectorClock
|
||||
(*HybridLogicalClock)(nil), // 1: temporal.server.api.clock.v1.HybridLogicalClock
|
||||
}
|
||||
var file_temporal_server_api_clock_v1_message_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_server_api_clock_v1_message_proto_init() }
|
||||
func file_temporal_server_api_clock_v1_message_proto_init() {
|
||||
if File_temporal_server_api_clock_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_server_api_clock_v1_message_proto_rawDesc), len(file_temporal_server_api_clock_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_clock_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_clock_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_clock_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_clock_v1_message_proto = out.File
|
||||
file_temporal_server_api_clock_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_clock_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package cluster
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type HostInfo to the protobuf v3 wire format
|
||||
func (val *HostInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HostInfo from the protobuf v3 wire format
|
||||
func (val *HostInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HostInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HostInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HostInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HostInfo
|
||||
switch t := that.(type) {
|
||||
case *HostInfo:
|
||||
that1 = t
|
||||
case HostInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type RingInfo to the protobuf v3 wire format
|
||||
func (val *RingInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type RingInfo from the protobuf v3 wire format
|
||||
func (val *RingInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *RingInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two RingInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *RingInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *RingInfo
|
||||
switch t := that.(type) {
|
||||
case *RingInfo:
|
||||
that1 = t
|
||||
case RingInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type MembershipInfo to the protobuf v3 wire format
|
||||
func (val *MembershipInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type MembershipInfo from the protobuf v3 wire format
|
||||
func (val *MembershipInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *MembershipInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two MembershipInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *MembershipInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *MembershipInfo
|
||||
switch t := that.(type) {
|
||||
case *MembershipInfo:
|
||||
that1 = t
|
||||
case MembershipInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ClusterMember to the protobuf v3 wire format
|
||||
func (val *ClusterMember) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ClusterMember from the protobuf v3 wire format
|
||||
func (val *ClusterMember) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ClusterMember) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ClusterMember values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ClusterMember) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ClusterMember
|
||||
switch t := that.(type) {
|
||||
case *ClusterMember:
|
||||
that1 = t
|
||||
case ClusterMember:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,366 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/cluster/v1/message.proto
|
||||
|
||||
package cluster
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "github.com/hanzoai/tasks/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"
|
||||
)
|
||||
|
||||
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 HostInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HostInfo) Reset() {
|
||||
*x = HostInfo{}
|
||||
mi := &file_temporal_server_api_cluster_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HostInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HostInfo) ProtoMessage() {}
|
||||
|
||||
func (x *HostInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_cluster_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 HostInfo.ProtoReflect.Descriptor instead.
|
||||
func (*HostInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cluster_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HostInfo) GetIdentity() string {
|
||||
if x != nil {
|
||||
return x.Identity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RingInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
||||
MemberCount int32 `protobuf:"varint,2,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
|
||||
Members []*HostInfo `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RingInfo) Reset() {
|
||||
*x = RingInfo{}
|
||||
mi := &file_temporal_server_api_cluster_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RingInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RingInfo) ProtoMessage() {}
|
||||
|
||||
func (x *RingInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_cluster_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 RingInfo.ProtoReflect.Descriptor instead.
|
||||
func (*RingInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cluster_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *RingInfo) GetRole() string {
|
||||
if x != nil {
|
||||
return x.Role
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RingInfo) GetMemberCount() int32 {
|
||||
if x != nil {
|
||||
return x.MemberCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *RingInfo) GetMembers() []*HostInfo {
|
||||
if x != nil {
|
||||
return x.Members
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MembershipInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CurrentHost *HostInfo `protobuf:"bytes,1,opt,name=current_host,json=currentHost,proto3" json:"current_host,omitempty"`
|
||||
ReachableMembers []string `protobuf:"bytes,2,rep,name=reachable_members,json=reachableMembers,proto3" json:"reachable_members,omitempty"`
|
||||
Rings []*RingInfo `protobuf:"bytes,3,rep,name=rings,proto3" json:"rings,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *MembershipInfo) Reset() {
|
||||
*x = MembershipInfo{}
|
||||
mi := &file_temporal_server_api_cluster_v1_message_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *MembershipInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MembershipInfo) ProtoMessage() {}
|
||||
|
||||
func (x *MembershipInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_cluster_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 MembershipInfo.ProtoReflect.Descriptor instead.
|
||||
func (*MembershipInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cluster_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *MembershipInfo) GetCurrentHost() *HostInfo {
|
||||
if x != nil {
|
||||
return x.CurrentHost
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MembershipInfo) GetReachableMembers() []string {
|
||||
if x != nil {
|
||||
return x.ReachableMembers
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MembershipInfo) GetRings() []*RingInfo {
|
||||
if x != nil {
|
||||
return x.Rings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ClusterMember struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Role v1.ClusterMemberRole `protobuf:"varint,1,opt,name=role,proto3,enum=temporal.server.api.enums.v1.ClusterMemberRole" json:"role,omitempty"`
|
||||
HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
|
||||
RpcAddress string `protobuf:"bytes,3,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"`
|
||||
RpcPort int32 `protobuf:"varint,4,opt,name=rpc_port,json=rpcPort,proto3" json:"rpc_port,omitempty"`
|
||||
SessionStartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=session_start_time,json=sessionStartTime,proto3" json:"session_start_time,omitempty"`
|
||||
LastHeartbitTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_heartbit_time,json=lastHeartbitTime,proto3" json:"last_heartbit_time,omitempty"`
|
||||
RecordExpiryTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=record_expiry_time,json=recordExpiryTime,proto3" json:"record_expiry_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ClusterMember) Reset() {
|
||||
*x = ClusterMember{}
|
||||
mi := &file_temporal_server_api_cluster_v1_message_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ClusterMember) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ClusterMember) ProtoMessage() {}
|
||||
|
||||
func (x *ClusterMember) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_cluster_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 ClusterMember.ProtoReflect.Descriptor instead.
|
||||
func (*ClusterMember) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_cluster_v1_message_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetRole() v1.ClusterMemberRole {
|
||||
if x != nil {
|
||||
return x.Role
|
||||
}
|
||||
return v1.ClusterMemberRole(0)
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetHostId() string {
|
||||
if x != nil {
|
||||
return x.HostId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetRpcAddress() string {
|
||||
if x != nil {
|
||||
return x.RpcAddress
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetRpcPort() int32 {
|
||||
if x != nil {
|
||||
return x.RpcPort
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetSessionStartTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.SessionStartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetLastHeartbitTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.LastHeartbitTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ClusterMember) GetRecordExpiryTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.RecordExpiryTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_cluster_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_cluster_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",temporal/server/api/cluster/v1/message.proto\x12\x1etemporal.server.api.cluster.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a*temporal/server/api/enums/v1/cluster.proto\"&\n" +
|
||||
"\bHostInfo\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity\"\x85\x01\n" +
|
||||
"\bRingInfo\x12\x12\n" +
|
||||
"\x04role\x18\x01 \x01(\tR\x04role\x12!\n" +
|
||||
"\fmember_count\x18\x02 \x01(\x05R\vmemberCount\x12B\n" +
|
||||
"\amembers\x18\x03 \x03(\v2(.temporal.server.api.cluster.v1.HostInfoR\amembers\"\xca\x01\n" +
|
||||
"\x0eMembershipInfo\x12K\n" +
|
||||
"\fcurrent_host\x18\x01 \x01(\v2(.temporal.server.api.cluster.v1.HostInfoR\vcurrentHost\x12+\n" +
|
||||
"\x11reachable_members\x18\x02 \x03(\tR\x10reachableMembers\x12>\n" +
|
||||
"\x05rings\x18\x03 \x03(\v2(.temporal.server.api.cluster.v1.RingInfoR\x05rings\"\x87\x03\n" +
|
||||
"\rClusterMember\x12C\n" +
|
||||
"\x04role\x18\x01 \x01(\x0e2/.temporal.server.api.enums.v1.ClusterMemberRoleR\x04role\x12\x17\n" +
|
||||
"\ahost_id\x18\x02 \x01(\tR\x06hostId\x12\x1f\n" +
|
||||
"\vrpc_address\x18\x03 \x01(\tR\n" +
|
||||
"rpcAddress\x12\x19\n" +
|
||||
"\brpc_port\x18\x04 \x01(\x05R\arpcPort\x12H\n" +
|
||||
"\x12session_start_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x10sessionStartTime\x12H\n" +
|
||||
"\x12last_heartbit_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10lastHeartbitTime\x12H\n" +
|
||||
"\x12record_expiry_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x10recordExpiryTimeB.Z,go.temporal.io/server/api/cluster/v1;clusterb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_cluster_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_cluster_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_cluster_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_cluster_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_cluster_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_cluster_v1_message_proto_rawDesc), len(file_temporal_server_api_cluster_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_cluster_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_cluster_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_temporal_server_api_cluster_v1_message_proto_goTypes = []any{
|
||||
(*HostInfo)(nil), // 0: temporal.server.api.cluster.v1.HostInfo
|
||||
(*RingInfo)(nil), // 1: temporal.server.api.cluster.v1.RingInfo
|
||||
(*MembershipInfo)(nil), // 2: temporal.server.api.cluster.v1.MembershipInfo
|
||||
(*ClusterMember)(nil), // 3: temporal.server.api.cluster.v1.ClusterMember
|
||||
(v1.ClusterMemberRole)(0), // 4: temporal.server.api.enums.v1.ClusterMemberRole
|
||||
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_cluster_v1_message_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.cluster.v1.RingInfo.members:type_name -> temporal.server.api.cluster.v1.HostInfo
|
||||
0, // 1: temporal.server.api.cluster.v1.MembershipInfo.current_host:type_name -> temporal.server.api.cluster.v1.HostInfo
|
||||
1, // 2: temporal.server.api.cluster.v1.MembershipInfo.rings:type_name -> temporal.server.api.cluster.v1.RingInfo
|
||||
4, // 3: temporal.server.api.cluster.v1.ClusterMember.role:type_name -> temporal.server.api.enums.v1.ClusterMemberRole
|
||||
5, // 4: temporal.server.api.cluster.v1.ClusterMember.session_start_time:type_name -> google.protobuf.Timestamp
|
||||
5, // 5: temporal.server.api.cluster.v1.ClusterMember.last_heartbit_time:type_name -> google.protobuf.Timestamp
|
||||
5, // 6: temporal.server.api.cluster.v1.ClusterMember.record_expiry_time:type_name -> google.protobuf.Timestamp
|
||||
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_temporal_server_api_cluster_v1_message_proto_init() }
|
||||
func file_temporal_server_api_cluster_v1_message_proto_init() {
|
||||
if File_temporal_server_api_cluster_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_server_api_cluster_v1_message_proto_rawDesc), len(file_temporal_server_api_cluster_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_cluster_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_cluster_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_cluster_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_cluster_v1_message_proto = out.File
|
||||
file_temporal_server_api_cluster_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_cluster_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package commonspb
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type ApiCategoryOptions to the protobuf v3 wire format
|
||||
func (val *ApiCategoryOptions) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ApiCategoryOptions from the protobuf v3 wire format
|
||||
func (val *ApiCategoryOptions) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ApiCategoryOptions) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ApiCategoryOptions values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ApiCategoryOptions) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ApiCategoryOptions
|
||||
switch t := that.(type) {
|
||||
case *ApiCategoryOptions:
|
||||
that1 = t
|
||||
case ApiCategoryOptions:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
var (
|
||||
ApiCategory_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Standard": 1,
|
||||
"LongPoll": 2,
|
||||
"System": 3,
|
||||
}
|
||||
)
|
||||
|
||||
// ApiCategoryFromString parses a ApiCategory value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ApiCategory
|
||||
func ApiCategoryFromString(s string) (ApiCategory, error) {
|
||||
if v, ok := ApiCategory_value[s]; ok {
|
||||
return ApiCategory(v), nil
|
||||
} else if v, ok := ApiCategory_shorthandValue[s]; ok {
|
||||
return ApiCategory(v), nil
|
||||
}
|
||||
return ApiCategory(0), fmt.Errorf("%s is not a valid ApiCategory", s)
|
||||
}
|
||||
@@ -1,230 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/common/v1/api_category.proto
|
||||
|
||||
package commonspb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
|
||||
)
|
||||
|
||||
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 ApiCategory int32
|
||||
|
||||
const (
|
||||
// Unspecified API category. Treated as standard API.
|
||||
API_CATEGORY_UNSPECIFIED ApiCategory = 0
|
||||
// Standard API with typical request/response patterns.
|
||||
API_CATEGORY_STANDARD ApiCategory = 1
|
||||
// Long-polling API that intentionally waits for state changes or external events.
|
||||
// These APIs should be excluded from health signal tracking because their latency
|
||||
// reflects client wait times and event availability rather than server health.
|
||||
// Including them in health metrics would skew the data and could cause healthy
|
||||
// nodes to appear unhealthy.
|
||||
//
|
||||
// Examples: PollMutableState, PollWorkflowExecutionUpdate, QueryWorkflow
|
||||
API_CATEGORY_LONG_POLL ApiCategory = 2
|
||||
API_CATEGORY_SYSTEM ApiCategory = 3
|
||||
)
|
||||
|
||||
// Enum value maps for ApiCategory.
|
||||
var (
|
||||
ApiCategory_name = map[int32]string{
|
||||
0: "API_CATEGORY_UNSPECIFIED",
|
||||
1: "API_CATEGORY_STANDARD",
|
||||
2: "API_CATEGORY_LONG_POLL",
|
||||
3: "API_CATEGORY_SYSTEM",
|
||||
}
|
||||
ApiCategory_value = map[string]int32{
|
||||
"API_CATEGORY_UNSPECIFIED": 0,
|
||||
"API_CATEGORY_STANDARD": 1,
|
||||
"API_CATEGORY_LONG_POLL": 2,
|
||||
"API_CATEGORY_SYSTEM": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ApiCategory) Enum() *ApiCategory {
|
||||
p := new(ApiCategory)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ApiCategory) String() string {
|
||||
switch x {
|
||||
case API_CATEGORY_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case API_CATEGORY_STANDARD:
|
||||
return "Standard"
|
||||
case API_CATEGORY_LONG_POLL:
|
||||
return "LongPoll"
|
||||
case API_CATEGORY_SYSTEM:
|
||||
return "System"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (ApiCategory) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_common_v1_api_category_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (ApiCategory) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_common_v1_api_category_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x ApiCategory) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ApiCategory.Descriptor instead.
|
||||
func (ApiCategory) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_api_category_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type ApiCategoryOptions struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The category of this API for health and observability purposes.
|
||||
Category ApiCategory `protobuf:"varint,1,opt,name=category,proto3,enum=temporal.server.api.common.v1.ApiCategory" json:"category,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ApiCategoryOptions) Reset() {
|
||||
*x = ApiCategoryOptions{}
|
||||
mi := &file_temporal_server_api_common_v1_api_category_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ApiCategoryOptions) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ApiCategoryOptions) ProtoMessage() {}
|
||||
|
||||
func (x *ApiCategoryOptions) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_common_v1_api_category_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 ApiCategoryOptions.ProtoReflect.Descriptor instead.
|
||||
func (*ApiCategoryOptions) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_api_category_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ApiCategoryOptions) GetCategory() ApiCategory {
|
||||
if x != nil {
|
||||
return x.Category
|
||||
}
|
||||
return API_CATEGORY_UNSPECIFIED
|
||||
}
|
||||
|
||||
var file_temporal_server_api_common_v1_api_category_proto_extTypes = []protoimpl.ExtensionInfo{
|
||||
{
|
||||
ExtendedType: (*descriptorpb.MethodOptions)(nil),
|
||||
ExtensionType: (*ApiCategoryOptions)(nil),
|
||||
Field: 50001,
|
||||
Name: "temporal.server.api.common.v1.api_category",
|
||||
Tag: "bytes,50001,opt,name=api_category",
|
||||
Filename: "temporal/server/api/common/v1/api_category.proto",
|
||||
},
|
||||
}
|
||||
|
||||
// Extension fields to descriptorpb.MethodOptions.
|
||||
var (
|
||||
// optional temporal.server.api.common.v1.ApiCategoryOptions api_category = 50001;
|
||||
E_ApiCategory = &file_temporal_server_api_common_v1_api_category_proto_extTypes[0]
|
||||
)
|
||||
|
||||
var File_temporal_server_api_common_v1_api_category_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_common_v1_api_category_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"0temporal/server/api/common/v1/api_category.proto\x12\x1dtemporal.server.api.common.v1\x1a google/protobuf/descriptor.proto\"\\\n" +
|
||||
"\x12ApiCategoryOptions\x12F\n" +
|
||||
"\bcategory\x18\x01 \x01(\x0e2*.temporal.server.api.common.v1.ApiCategoryR\bcategory*{\n" +
|
||||
"\vApiCategory\x12\x1c\n" +
|
||||
"\x18API_CATEGORY_UNSPECIFIED\x10\x00\x12\x19\n" +
|
||||
"\x15API_CATEGORY_STANDARD\x10\x01\x12\x1a\n" +
|
||||
"\x16API_CATEGORY_LONG_POLL\x10\x02\x12\x17\n" +
|
||||
"\x13API_CATEGORY_SYSTEM\x10\x03:y\n" +
|
||||
"\fapi_category\x12\x1e.google.protobuf.MethodOptions\x18ц\x03 \x01(\v21.temporal.server.api.common.v1.ApiCategoryOptionsR\vapiCategory\x88\x01\x01B/Z-go.temporal.io/server/api/common/v1;commonspbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_common_v1_api_category_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_common_v1_api_category_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_common_v1_api_category_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_common_v1_api_category_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_common_v1_api_category_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_common_v1_api_category_proto_rawDesc), len(file_temporal_server_api_common_v1_api_category_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_common_v1_api_category_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_common_v1_api_category_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_common_v1_api_category_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_temporal_server_api_common_v1_api_category_proto_goTypes = []any{
|
||||
(ApiCategory)(0), // 0: temporal.server.api.common.v1.ApiCategory
|
||||
(*ApiCategoryOptions)(nil), // 1: temporal.server.api.common.v1.ApiCategoryOptions
|
||||
(*descriptorpb.MethodOptions)(nil), // 2: google.protobuf.MethodOptions
|
||||
}
|
||||
var file_temporal_server_api_common_v1_api_category_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.common.v1.ApiCategoryOptions.category:type_name -> temporal.server.api.common.v1.ApiCategory
|
||||
2, // 1: temporal.server.api.common.v1.api_category:extendee -> google.protobuf.MethodOptions
|
||||
1, // 2: temporal.server.api.common.v1.api_category:type_name -> temporal.server.api.common.v1.ApiCategoryOptions
|
||||
3, // [3:3] is the sub-list for method output_type
|
||||
3, // [3:3] is the sub-list for method input_type
|
||||
2, // [2:3] is the sub-list for extension type_name
|
||||
1, // [1:2] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_common_v1_api_category_proto_init() }
|
||||
func file_temporal_server_api_common_v1_api_category_proto_init() {
|
||||
if File_temporal_server_api_common_v1_api_category_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_common_v1_api_category_proto_rawDesc), len(file_temporal_server_api_common_v1_api_category_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 1,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_common_v1_api_category_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_common_v1_api_category_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_common_v1_api_category_proto_enumTypes,
|
||||
MessageInfos: file_temporal_server_api_common_v1_api_category_proto_msgTypes,
|
||||
ExtensionInfos: file_temporal_server_api_common_v1_api_category_proto_extTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_common_v1_api_category_proto = out.File
|
||||
file_temporal_server_api_common_v1_api_category_proto_goTypes = nil
|
||||
file_temporal_server_api_common_v1_api_category_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package commonspb
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type HistoryTask to the protobuf v3 wire format
|
||||
func (val *HistoryTask) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryTask from the protobuf v3 wire format
|
||||
func (val *HistoryTask) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryTask) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryTask values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryTask) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryTask
|
||||
switch t := that.(type) {
|
||||
case *HistoryTask:
|
||||
that1 = t
|
||||
case HistoryTask:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryDLQTaskMetadata to the protobuf v3 wire format
|
||||
func (val *HistoryDLQTaskMetadata) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryDLQTaskMetadata from the protobuf v3 wire format
|
||||
func (val *HistoryDLQTaskMetadata) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryDLQTaskMetadata) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryDLQTaskMetadata values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryDLQTaskMetadata) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryDLQTaskMetadata
|
||||
switch t := that.(type) {
|
||||
case *HistoryDLQTaskMetadata:
|
||||
that1 = t
|
||||
case HistoryDLQTaskMetadata:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryDLQTask to the protobuf v3 wire format
|
||||
func (val *HistoryDLQTask) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryDLQTask from the protobuf v3 wire format
|
||||
func (val *HistoryDLQTask) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryDLQTask) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryDLQTask values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryDLQTask) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryDLQTask
|
||||
switch t := that.(type) {
|
||||
case *HistoryDLQTask:
|
||||
that1 = t
|
||||
case HistoryDLQTask:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryDLQKey to the protobuf v3 wire format
|
||||
func (val *HistoryDLQKey) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryDLQKey from the protobuf v3 wire format
|
||||
func (val *HistoryDLQKey) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryDLQKey) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryDLQKey values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryDLQKey) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryDLQKey
|
||||
switch t := that.(type) {
|
||||
case *HistoryDLQKey:
|
||||
that1 = t
|
||||
case HistoryDLQKey:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,319 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/common/v1/dlq.proto
|
||||
|
||||
package commonspb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/common/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 HistoryTask struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// shard_id is included to avoid having to deserialize the task blob.
|
||||
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
||||
Blob *v1.DataBlob `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryTask) Reset() {
|
||||
*x = HistoryTask{}
|
||||
mi := &file_temporal_server_api_common_v1_dlq_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryTask) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryTask) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryTask) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_common_v1_dlq_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 HistoryTask.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryTask) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_dlq_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HistoryTask) GetShardId() int32 {
|
||||
if x != nil {
|
||||
return x.ShardId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryTask) GetBlob() *v1.DataBlob {
|
||||
if x != nil {
|
||||
return x.Blob
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type HistoryDLQTaskMetadata struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// message_id is the zero-indexed sequence number of the message in the queue that contains this history task.
|
||||
MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTaskMetadata) Reset() {
|
||||
*x = HistoryDLQTaskMetadata{}
|
||||
mi := &file_temporal_server_api_common_v1_dlq_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTaskMetadata) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryDLQTaskMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryDLQTaskMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_common_v1_dlq_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 HistoryDLQTaskMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryDLQTaskMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_dlq_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTaskMetadata) GetMessageId() int64 {
|
||||
if x != nil {
|
||||
return x.MessageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// HistoryDLQTask is a history task that has been moved to the DLQ, so it also has a message ID (index within that
|
||||
// queue).
|
||||
type HistoryDLQTask struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Metadata *HistoryDLQTaskMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
||||
// This is named payload to prevent stuttering (e.g. task.Task).
|
||||
Payload *HistoryTask `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTask) Reset() {
|
||||
*x = HistoryDLQTask{}
|
||||
mi := &file_temporal_server_api_common_v1_dlq_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTask) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryDLQTask) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryDLQTask) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_common_v1_dlq_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 HistoryDLQTask.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryDLQTask) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_dlq_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTask) GetMetadata() *HistoryDLQTaskMetadata {
|
||||
if x != nil {
|
||||
return x.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HistoryDLQTask) GetPayload() *HistoryTask {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// HistoryDLQKey is a compound key that identifies a history DLQ.
|
||||
type HistoryDLQKey struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// task_category is the category of the task. The default values are defined in the TaskCategory enum. However, there
|
||||
// may also be other categories registered at runtime with the history/tasks package. As a result, the category here
|
||||
// is an integer instead of an enum to support both the default values and custom values.
|
||||
TaskCategory int32 `protobuf:"varint,1,opt,name=task_category,json=taskCategory,proto3" json:"task_category,omitempty"`
|
||||
// source_cluster and target_cluster must both be non-empty. For non-cross DC tasks, i.e. non-replication tasks,
|
||||
// they should be the same. The reason for this is that we may support wildcard clusters in the future, and we want
|
||||
// to differentiate between queues which go from one cluster to all other clusters, and queues which don't leave the
|
||||
// current cluster.
|
||||
SourceCluster string `protobuf:"bytes,2,opt,name=source_cluster,json=sourceCluster,proto3" json:"source_cluster,omitempty"`
|
||||
TargetCluster string `protobuf:"bytes,3,opt,name=target_cluster,json=targetCluster,proto3" json:"target_cluster,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryDLQKey) Reset() {
|
||||
*x = HistoryDLQKey{}
|
||||
mi := &file_temporal_server_api_common_v1_dlq_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryDLQKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryDLQKey) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryDLQKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_common_v1_dlq_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 HistoryDLQKey.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryDLQKey) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_common_v1_dlq_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *HistoryDLQKey) GetTaskCategory() int32 {
|
||||
if x != nil {
|
||||
return x.TaskCategory
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryDLQKey) GetSourceCluster() string {
|
||||
if x != nil {
|
||||
return x.SourceCluster
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryDLQKey) GetTargetCluster() string {
|
||||
if x != nil {
|
||||
return x.TargetCluster
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_temporal_server_api_common_v1_dlq_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_common_v1_dlq_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'temporal/server/api/common/v1/dlq.proto\x12\x1dtemporal.server.api.common.v1\x1a$temporal/api/common/v1/message.proto\"^\n" +
|
||||
"\vHistoryTask\x12\x19\n" +
|
||||
"\bshard_id\x18\x01 \x01(\x05R\ashardId\x124\n" +
|
||||
"\x04blob\x18\x02 \x01(\v2 .temporal.api.common.v1.DataBlobR\x04blob\"7\n" +
|
||||
"\x16HistoryDLQTaskMetadata\x12\x1d\n" +
|
||||
"\n" +
|
||||
"message_id\x18\x01 \x01(\x03R\tmessageId\"\xa9\x01\n" +
|
||||
"\x0eHistoryDLQTask\x12Q\n" +
|
||||
"\bmetadata\x18\x01 \x01(\v25.temporal.server.api.common.v1.HistoryDLQTaskMetadataR\bmetadata\x12D\n" +
|
||||
"\apayload\x18\x02 \x01(\v2*.temporal.server.api.common.v1.HistoryTaskR\apayload\"\x82\x01\n" +
|
||||
"\rHistoryDLQKey\x12#\n" +
|
||||
"\rtask_category\x18\x01 \x01(\x05R\ftaskCategory\x12%\n" +
|
||||
"\x0esource_cluster\x18\x02 \x01(\tR\rsourceCluster\x12%\n" +
|
||||
"\x0etarget_cluster\x18\x03 \x01(\tR\rtargetClusterB/Z-go.temporal.io/server/api/common/v1;commonspbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_common_v1_dlq_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_common_v1_dlq_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_common_v1_dlq_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_common_v1_dlq_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_common_v1_dlq_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_common_v1_dlq_proto_rawDesc), len(file_temporal_server_api_common_v1_dlq_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_common_v1_dlq_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_common_v1_dlq_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_temporal_server_api_common_v1_dlq_proto_goTypes = []any{
|
||||
(*HistoryTask)(nil), // 0: temporal.server.api.common.v1.HistoryTask
|
||||
(*HistoryDLQTaskMetadata)(nil), // 1: temporal.server.api.common.v1.HistoryDLQTaskMetadata
|
||||
(*HistoryDLQTask)(nil), // 2: temporal.server.api.common.v1.HistoryDLQTask
|
||||
(*HistoryDLQKey)(nil), // 3: temporal.server.api.common.v1.HistoryDLQKey
|
||||
(*v1.DataBlob)(nil), // 4: temporal.api.common.v1.DataBlob
|
||||
}
|
||||
var file_temporal_server_api_common_v1_dlq_proto_depIdxs = []int32{
|
||||
4, // 0: temporal.server.api.common.v1.HistoryTask.blob:type_name -> temporal.api.common.v1.DataBlob
|
||||
1, // 1: temporal.server.api.common.v1.HistoryDLQTask.metadata:type_name -> temporal.server.api.common.v1.HistoryDLQTaskMetadata
|
||||
0, // 2: temporal.server.api.common.v1.HistoryDLQTask.payload:type_name -> temporal.server.api.common.v1.HistoryTask
|
||||
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_server_api_common_v1_dlq_proto_init() }
|
||||
func file_temporal_server_api_common_v1_dlq_proto_init() {
|
||||
if File_temporal_server_api_common_v1_dlq_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_common_v1_dlq_proto_rawDesc), len(file_temporal_server_api_common_v1_dlq_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_common_v1_dlq_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_common_v1_dlq_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_common_v1_dlq_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_common_v1_dlq_proto = out.File
|
||||
file_temporal_server_api_common_v1_dlq_proto_goTypes = nil
|
||||
file_temporal_server_api_common_v1_dlq_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,48 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
ClusterMemberRole_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Frontend": 1,
|
||||
"History": 2,
|
||||
"Matching": 3,
|
||||
"Worker": 4,
|
||||
}
|
||||
)
|
||||
|
||||
// ClusterMemberRoleFromString parses a ClusterMemberRole value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ClusterMemberRole
|
||||
func ClusterMemberRoleFromString(s string) (ClusterMemberRole, error) {
|
||||
if v, ok := ClusterMemberRole_value[s]; ok {
|
||||
return ClusterMemberRole(v), nil
|
||||
} else if v, ok := ClusterMemberRole_shorthandValue[s]; ok {
|
||||
return ClusterMemberRole(v), nil
|
||||
}
|
||||
return ClusterMemberRole(0), fmt.Errorf("%s is not a valid ClusterMemberRole", s)
|
||||
}
|
||||
|
||||
var (
|
||||
HealthState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Serving": 1,
|
||||
"NotServing": 2,
|
||||
"DeclinedServing": 3,
|
||||
"InternalError": 4,
|
||||
}
|
||||
)
|
||||
|
||||
// HealthStateFromString parses a HealthState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to HealthState
|
||||
func HealthStateFromString(s string) (HealthState, error) {
|
||||
if v, ok := HealthState_value[s]; ok {
|
||||
return HealthState(v), nil
|
||||
} else if v, ok := HealthState_shorthandValue[s]; ok {
|
||||
return HealthState(v), nil
|
||||
}
|
||||
return HealthState(0), fmt.Errorf("%s is not a valid HealthState", s)
|
||||
}
|
||||
@@ -1,233 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/cluster.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 ClusterMemberRole int32
|
||||
|
||||
const (
|
||||
CLUSTER_MEMBER_ROLE_UNSPECIFIED ClusterMemberRole = 0
|
||||
CLUSTER_MEMBER_ROLE_FRONTEND ClusterMemberRole = 1
|
||||
CLUSTER_MEMBER_ROLE_HISTORY ClusterMemberRole = 2
|
||||
CLUSTER_MEMBER_ROLE_MATCHING ClusterMemberRole = 3
|
||||
CLUSTER_MEMBER_ROLE_WORKER ClusterMemberRole = 4
|
||||
)
|
||||
|
||||
// Enum value maps for ClusterMemberRole.
|
||||
var (
|
||||
ClusterMemberRole_name = map[int32]string{
|
||||
0: "CLUSTER_MEMBER_ROLE_UNSPECIFIED",
|
||||
1: "CLUSTER_MEMBER_ROLE_FRONTEND",
|
||||
2: "CLUSTER_MEMBER_ROLE_HISTORY",
|
||||
3: "CLUSTER_MEMBER_ROLE_MATCHING",
|
||||
4: "CLUSTER_MEMBER_ROLE_WORKER",
|
||||
}
|
||||
ClusterMemberRole_value = map[string]int32{
|
||||
"CLUSTER_MEMBER_ROLE_UNSPECIFIED": 0,
|
||||
"CLUSTER_MEMBER_ROLE_FRONTEND": 1,
|
||||
"CLUSTER_MEMBER_ROLE_HISTORY": 2,
|
||||
"CLUSTER_MEMBER_ROLE_MATCHING": 3,
|
||||
"CLUSTER_MEMBER_ROLE_WORKER": 4,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ClusterMemberRole) Enum() *ClusterMemberRole {
|
||||
p := new(ClusterMemberRole)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ClusterMemberRole) String() string {
|
||||
switch x {
|
||||
case CLUSTER_MEMBER_ROLE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case CLUSTER_MEMBER_ROLE_FRONTEND:
|
||||
return "Frontend"
|
||||
case CLUSTER_MEMBER_ROLE_HISTORY:
|
||||
return "History"
|
||||
case CLUSTER_MEMBER_ROLE_MATCHING:
|
||||
return "Matching"
|
||||
case CLUSTER_MEMBER_ROLE_WORKER:
|
||||
return "Worker"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (ClusterMemberRole) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_cluster_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (ClusterMemberRole) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_cluster_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x ClusterMemberRole) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ClusterMemberRole.Descriptor instead.
|
||||
func (ClusterMemberRole) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_cluster_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type HealthState int32
|
||||
|
||||
const (
|
||||
HEALTH_STATE_UNSPECIFIED HealthState = 0
|
||||
// The host is in a healthy state.
|
||||
HEALTH_STATE_SERVING HealthState = 1
|
||||
// The host is unhealthy through external observation.
|
||||
HEALTH_STATE_NOT_SERVING HealthState = 2
|
||||
// The host has marked itself as not ready to serve traffic.
|
||||
HEALTH_STATE_DECLINED_SERVING HealthState = 3
|
||||
// An internal error occurred while checking health (e.g. resolver failure).
|
||||
HEALTH_STATE_INTERNAL_ERROR HealthState = 4
|
||||
)
|
||||
|
||||
// Enum value maps for HealthState.
|
||||
var (
|
||||
HealthState_name = map[int32]string{
|
||||
0: "HEALTH_STATE_UNSPECIFIED",
|
||||
1: "HEALTH_STATE_SERVING",
|
||||
2: "HEALTH_STATE_NOT_SERVING",
|
||||
3: "HEALTH_STATE_DECLINED_SERVING",
|
||||
4: "HEALTH_STATE_INTERNAL_ERROR",
|
||||
}
|
||||
HealthState_value = map[string]int32{
|
||||
"HEALTH_STATE_UNSPECIFIED": 0,
|
||||
"HEALTH_STATE_SERVING": 1,
|
||||
"HEALTH_STATE_NOT_SERVING": 2,
|
||||
"HEALTH_STATE_DECLINED_SERVING": 3,
|
||||
"HEALTH_STATE_INTERNAL_ERROR": 4,
|
||||
}
|
||||
)
|
||||
|
||||
func (x HealthState) Enum() *HealthState {
|
||||
p := new(HealthState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x HealthState) String() string {
|
||||
switch x {
|
||||
case HEALTH_STATE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case HEALTH_STATE_SERVING:
|
||||
return "Serving"
|
||||
case HEALTH_STATE_NOT_SERVING:
|
||||
return "NotServing"
|
||||
case HEALTH_STATE_DECLINED_SERVING:
|
||||
return "DeclinedServing"
|
||||
case HEALTH_STATE_INTERNAL_ERROR:
|
||||
return "InternalError"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (HealthState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_cluster_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (HealthState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_cluster_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x HealthState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use HealthState.Descriptor instead.
|
||||
func (HealthState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_cluster_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_cluster_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_cluster_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"*temporal/server/api/enums/v1/cluster.proto\x12\x1ctemporal.server.api.enums.v1*\xbd\x01\n" +
|
||||
"\x11ClusterMemberRole\x12#\n" +
|
||||
"\x1fCLUSTER_MEMBER_ROLE_UNSPECIFIED\x10\x00\x12 \n" +
|
||||
"\x1cCLUSTER_MEMBER_ROLE_FRONTEND\x10\x01\x12\x1f\n" +
|
||||
"\x1bCLUSTER_MEMBER_ROLE_HISTORY\x10\x02\x12 \n" +
|
||||
"\x1cCLUSTER_MEMBER_ROLE_MATCHING\x10\x03\x12\x1e\n" +
|
||||
"\x1aCLUSTER_MEMBER_ROLE_WORKER\x10\x04*\xa7\x01\n" +
|
||||
"\vHealthState\x12\x1c\n" +
|
||||
"\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x18\n" +
|
||||
"\x14HEALTH_STATE_SERVING\x10\x01\x12\x1c\n" +
|
||||
"\x18HEALTH_STATE_NOT_SERVING\x10\x02\x12!\n" +
|
||||
"\x1dHEALTH_STATE_DECLINED_SERVING\x10\x03\x12\x1f\n" +
|
||||
"\x1bHEALTH_STATE_INTERNAL_ERROR\x10\x04B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_cluster_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_cluster_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_cluster_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_cluster_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_cluster_proto_rawDesc), len(file_temporal_server_api_enums_v1_cluster_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_cluster_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_temporal_server_api_enums_v1_cluster_proto_goTypes = []any{
|
||||
(ClusterMemberRole)(0), // 0: temporal.server.api.enums.v1.ClusterMemberRole
|
||||
(HealthState)(0), // 1: temporal.server.api.enums.v1.HealthState
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_cluster_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_server_api_enums_v1_cluster_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_cluster_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_cluster_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_cluster_proto_rawDesc), len(file_temporal_server_api_enums_v1_cluster_proto_rawDesc)),
|
||||
NumEnums: 2,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_cluster_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_cluster_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_cluster_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_cluster_proto = out.File
|
||||
file_temporal_server_api_enums_v1_cluster_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_cluster_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
DeadLetterQueueType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Replication": 1,
|
||||
"Namespace": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// DeadLetterQueueTypeFromString parses a DeadLetterQueueType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to DeadLetterQueueType
|
||||
func DeadLetterQueueTypeFromString(s string) (DeadLetterQueueType, error) {
|
||||
if v, ok := DeadLetterQueueType_value[s]; ok {
|
||||
return DeadLetterQueueType(v), nil
|
||||
} else if v, ok := DeadLetterQueueType_shorthandValue[s]; ok {
|
||||
return DeadLetterQueueType(v), nil
|
||||
}
|
||||
return DeadLetterQueueType(0), fmt.Errorf("%s is not a valid DeadLetterQueueType", s)
|
||||
}
|
||||
|
||||
var (
|
||||
ChecksumFlavor_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"IeeeCrc32OverProto3Binary": 1,
|
||||
}
|
||||
)
|
||||
|
||||
// ChecksumFlavorFromString parses a ChecksumFlavor value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ChecksumFlavor
|
||||
func ChecksumFlavorFromString(s string) (ChecksumFlavor, error) {
|
||||
if v, ok := ChecksumFlavor_value[s]; ok {
|
||||
return ChecksumFlavor(v), nil
|
||||
} else if v, ok := ChecksumFlavor_shorthandValue[s]; ok {
|
||||
return ChecksumFlavor(v), nil
|
||||
}
|
||||
return ChecksumFlavor(0), fmt.Errorf("%s is not a valid ChecksumFlavor", s)
|
||||
}
|
||||
|
||||
var (
|
||||
CallbackState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Standby": 1,
|
||||
"Scheduled": 2,
|
||||
"BackingOff": 3,
|
||||
"Failed": 4,
|
||||
"Succeeded": 5,
|
||||
}
|
||||
)
|
||||
|
||||
// CallbackStateFromString parses a CallbackState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to CallbackState
|
||||
func CallbackStateFromString(s string) (CallbackState, error) {
|
||||
if v, ok := CallbackState_value[s]; ok {
|
||||
return CallbackState(v), nil
|
||||
} else if v, ok := CallbackState_shorthandValue[s]; ok {
|
||||
return CallbackState(v), nil
|
||||
}
|
||||
return CallbackState(0), fmt.Errorf("%s is not a valid CallbackState", s)
|
||||
}
|
||||
@@ -1,288 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/common.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 DeadLetterQueueType int32
|
||||
|
||||
const (
|
||||
DEAD_LETTER_QUEUE_TYPE_UNSPECIFIED DeadLetterQueueType = 0
|
||||
DEAD_LETTER_QUEUE_TYPE_REPLICATION DeadLetterQueueType = 1
|
||||
DEAD_LETTER_QUEUE_TYPE_NAMESPACE DeadLetterQueueType = 2
|
||||
)
|
||||
|
||||
// Enum value maps for DeadLetterQueueType.
|
||||
var (
|
||||
DeadLetterQueueType_name = map[int32]string{
|
||||
0: "DEAD_LETTER_QUEUE_TYPE_UNSPECIFIED",
|
||||
1: "DEAD_LETTER_QUEUE_TYPE_REPLICATION",
|
||||
2: "DEAD_LETTER_QUEUE_TYPE_NAMESPACE",
|
||||
}
|
||||
DeadLetterQueueType_value = map[string]int32{
|
||||
"DEAD_LETTER_QUEUE_TYPE_UNSPECIFIED": 0,
|
||||
"DEAD_LETTER_QUEUE_TYPE_REPLICATION": 1,
|
||||
"DEAD_LETTER_QUEUE_TYPE_NAMESPACE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x DeadLetterQueueType) Enum() *DeadLetterQueueType {
|
||||
p := new(DeadLetterQueueType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x DeadLetterQueueType) String() string {
|
||||
switch x {
|
||||
case DEAD_LETTER_QUEUE_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case DEAD_LETTER_QUEUE_TYPE_REPLICATION:
|
||||
return "Replication"
|
||||
case DEAD_LETTER_QUEUE_TYPE_NAMESPACE:
|
||||
return "Namespace"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (DeadLetterQueueType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_common_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (DeadLetterQueueType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_common_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x DeadLetterQueueType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeadLetterQueueType.Descriptor instead.
|
||||
func (DeadLetterQueueType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_common_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type ChecksumFlavor int32
|
||||
|
||||
const (
|
||||
CHECKSUM_FLAVOR_UNSPECIFIED ChecksumFlavor = 0
|
||||
CHECKSUM_FLAVOR_IEEE_CRC32_OVER_PROTO3_BINARY ChecksumFlavor = 1
|
||||
)
|
||||
|
||||
// Enum value maps for ChecksumFlavor.
|
||||
var (
|
||||
ChecksumFlavor_name = map[int32]string{
|
||||
0: "CHECKSUM_FLAVOR_UNSPECIFIED",
|
||||
1: "CHECKSUM_FLAVOR_IEEE_CRC32_OVER_PROTO3_BINARY",
|
||||
}
|
||||
ChecksumFlavor_value = map[string]int32{
|
||||
"CHECKSUM_FLAVOR_UNSPECIFIED": 0,
|
||||
"CHECKSUM_FLAVOR_IEEE_CRC32_OVER_PROTO3_BINARY": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ChecksumFlavor) Enum() *ChecksumFlavor {
|
||||
p := new(ChecksumFlavor)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ChecksumFlavor) String() string {
|
||||
switch x {
|
||||
case CHECKSUM_FLAVOR_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case CHECKSUM_FLAVOR_IEEE_CRC32_OVER_PROTO3_BINARY:
|
||||
return "IeeeCrc32OverProto3Binary"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (ChecksumFlavor) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_common_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (ChecksumFlavor) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_common_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x ChecksumFlavor) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ChecksumFlavor.Descriptor instead.
|
||||
func (ChecksumFlavor) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_common_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
// State of a callback.
|
||||
type CallbackState int32
|
||||
|
||||
const (
|
||||
// Default value, unspecified state.
|
||||
CALLBACK_STATE_UNSPECIFIED CallbackState = 0
|
||||
// Callback is standing by, waiting to be triggered.
|
||||
CALLBACK_STATE_STANDBY CallbackState = 1
|
||||
// Callback is in the queue waiting to be executed or is currently executing.
|
||||
CALLBACK_STATE_SCHEDULED CallbackState = 2
|
||||
// Callback has failed with a retryable error and is backing off before the next attempt.
|
||||
CALLBACK_STATE_BACKING_OFF CallbackState = 3
|
||||
// Callback has failed.
|
||||
CALLBACK_STATE_FAILED CallbackState = 4
|
||||
// Callback has succeeded.
|
||||
CALLBACK_STATE_SUCCEEDED CallbackState = 5
|
||||
)
|
||||
|
||||
// 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",
|
||||
}
|
||||
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,
|
||||
}
|
||||
)
|
||||
|
||||
func (x CallbackState) Enum() *CallbackState {
|
||||
p := new(CallbackState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x CallbackState) String() string {
|
||||
switch x {
|
||||
case CALLBACK_STATE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case CALLBACK_STATE_STANDBY:
|
||||
return "Standby"
|
||||
case CALLBACK_STATE_SCHEDULED:
|
||||
return "Scheduled"
|
||||
case CALLBACK_STATE_BACKING_OFF:
|
||||
return "BackingOff"
|
||||
case CALLBACK_STATE_FAILED:
|
||||
return "Failed"
|
||||
case CALLBACK_STATE_SUCCEEDED:
|
||||
return "Succeeded"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (CallbackState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_common_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (CallbackState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_common_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x CallbackState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CallbackState.Descriptor instead.
|
||||
func (CallbackState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_common_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_common_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_common_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
")temporal/server/api/enums/v1/common.proto\x12\x1ctemporal.server.api.enums.v1*\x8b\x01\n" +
|
||||
"\x13DeadLetterQueueType\x12&\n" +
|
||||
"\"DEAD_LETTER_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12&\n" +
|
||||
"\"DEAD_LETTER_QUEUE_TYPE_REPLICATION\x10\x01\x12$\n" +
|
||||
" DEAD_LETTER_QUEUE_TYPE_NAMESPACE\x10\x02*d\n" +
|
||||
"\x0eChecksumFlavor\x12\x1f\n" +
|
||||
"\x1bCHECKSUM_FLAVOR_UNSPECIFIED\x10\x00\x121\n" +
|
||||
"-CHECKSUM_FLAVOR_IEEE_CRC32_OVER_PROTO3_BINARY\x10\x01*\xc2\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\x05B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_common_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_common_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_common_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_common_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_common_proto_rawDesc), len(file_temporal_server_api_enums_v1_common_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_common_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_temporal_server_api_enums_v1_common_proto_goTypes = []any{
|
||||
(DeadLetterQueueType)(0), // 0: temporal.server.api.enums.v1.DeadLetterQueueType
|
||||
(ChecksumFlavor)(0), // 1: temporal.server.api.enums.v1.ChecksumFlavor
|
||||
(CallbackState)(0), // 2: temporal.server.api.enums.v1.CallbackState
|
||||
}
|
||||
var file_temporal_server_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_server_api_enums_v1_common_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_common_proto_init() {
|
||||
if File_temporal_server_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_server_api_enums_v1_common_proto_rawDesc), len(file_temporal_server_api_enums_v1_common_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_common_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_common_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_common_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_common_proto = out.File
|
||||
file_temporal_server_api_enums_v1_common_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_common_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
DLQOperationType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Merge": 1,
|
||||
"Purge": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// DLQOperationTypeFromString parses a DLQOperationType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to DLQOperationType
|
||||
func DLQOperationTypeFromString(s string) (DLQOperationType, error) {
|
||||
if v, ok := DLQOperationType_value[s]; ok {
|
||||
return DLQOperationType(v), nil
|
||||
} else if v, ok := DLQOperationType_shorthandValue[s]; ok {
|
||||
return DLQOperationType(v), nil
|
||||
}
|
||||
return DLQOperationType(0), fmt.Errorf("%s is not a valid DLQOperationType", s)
|
||||
}
|
||||
|
||||
var (
|
||||
DLQOperationState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Running": 1,
|
||||
"Completed": 2,
|
||||
"Failed": 3,
|
||||
}
|
||||
)
|
||||
|
||||
// DLQOperationStateFromString parses a DLQOperationState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to DLQOperationState
|
||||
func DLQOperationStateFromString(s string) (DLQOperationState, error) {
|
||||
if v, ok := DLQOperationState_value[s]; ok {
|
||||
return DLQOperationState(v), nil
|
||||
} else if v, ok := DLQOperationState_shorthandValue[s]; ok {
|
||||
return DLQOperationState(v), nil
|
||||
}
|
||||
return DLQOperationState(0), fmt.Errorf("%s is not a valid DLQOperationState", s)
|
||||
}
|
||||
@@ -1,211 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/dlq.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 DLQOperationType int32
|
||||
|
||||
const (
|
||||
DLQ_OPERATION_TYPE_UNSPECIFIED DLQOperationType = 0
|
||||
DLQ_OPERATION_TYPE_MERGE DLQOperationType = 1
|
||||
DLQ_OPERATION_TYPE_PURGE DLQOperationType = 2
|
||||
)
|
||||
|
||||
// Enum value maps for DLQOperationType.
|
||||
var (
|
||||
DLQOperationType_name = map[int32]string{
|
||||
0: "DLQ_OPERATION_TYPE_UNSPECIFIED",
|
||||
1: "DLQ_OPERATION_TYPE_MERGE",
|
||||
2: "DLQ_OPERATION_TYPE_PURGE",
|
||||
}
|
||||
DLQOperationType_value = map[string]int32{
|
||||
"DLQ_OPERATION_TYPE_UNSPECIFIED": 0,
|
||||
"DLQ_OPERATION_TYPE_MERGE": 1,
|
||||
"DLQ_OPERATION_TYPE_PURGE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x DLQOperationType) Enum() *DLQOperationType {
|
||||
p := new(DLQOperationType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x DLQOperationType) String() string {
|
||||
switch x {
|
||||
case DLQ_OPERATION_TYPE_UNSPECIFIED:
|
||||
return "DlqOperationTypeUnspecified"
|
||||
case DLQ_OPERATION_TYPE_MERGE:
|
||||
return "DlqOperationTypeMerge"
|
||||
case DLQ_OPERATION_TYPE_PURGE:
|
||||
return "DlqOperationTypePurge"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (DLQOperationType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_dlq_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (DLQOperationType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_dlq_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x DLQOperationType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DLQOperationType.Descriptor instead.
|
||||
func (DLQOperationType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_dlq_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type DLQOperationState int32
|
||||
|
||||
const (
|
||||
DLQ_OPERATION_STATE_UNSPECIFIED DLQOperationState = 0
|
||||
DLQ_OPERATION_STATE_RUNNING DLQOperationState = 1
|
||||
DLQ_OPERATION_STATE_COMPLETED DLQOperationState = 2
|
||||
DLQ_OPERATION_STATE_FAILED DLQOperationState = 3
|
||||
)
|
||||
|
||||
// Enum value maps for DLQOperationState.
|
||||
var (
|
||||
DLQOperationState_name = map[int32]string{
|
||||
0: "DLQ_OPERATION_STATE_UNSPECIFIED",
|
||||
1: "DLQ_OPERATION_STATE_RUNNING",
|
||||
2: "DLQ_OPERATION_STATE_COMPLETED",
|
||||
3: "DLQ_OPERATION_STATE_FAILED",
|
||||
}
|
||||
DLQOperationState_value = map[string]int32{
|
||||
"DLQ_OPERATION_STATE_UNSPECIFIED": 0,
|
||||
"DLQ_OPERATION_STATE_RUNNING": 1,
|
||||
"DLQ_OPERATION_STATE_COMPLETED": 2,
|
||||
"DLQ_OPERATION_STATE_FAILED": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x DLQOperationState) Enum() *DLQOperationState {
|
||||
p := new(DLQOperationState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x DLQOperationState) String() string {
|
||||
switch x {
|
||||
case DLQ_OPERATION_STATE_UNSPECIFIED:
|
||||
return "DlqOperationStateUnspecified"
|
||||
case DLQ_OPERATION_STATE_RUNNING:
|
||||
return "DlqOperationStateRunning"
|
||||
case DLQ_OPERATION_STATE_COMPLETED:
|
||||
return "DlqOperationStateCompleted"
|
||||
case DLQ_OPERATION_STATE_FAILED:
|
||||
return "DlqOperationStateFailed"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (DLQOperationState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_dlq_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (DLQOperationState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_dlq_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x DLQOperationState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DLQOperationState.Descriptor instead.
|
||||
func (DLQOperationState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_dlq_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_dlq_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_dlq_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&temporal/server/api/enums/v1/dlq.proto\x12\x1ctemporal.server.api.enums.v1*r\n" +
|
||||
"\x10DLQOperationType\x12\"\n" +
|
||||
"\x1eDLQ_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n" +
|
||||
"\x18DLQ_OPERATION_TYPE_MERGE\x10\x01\x12\x1c\n" +
|
||||
"\x18DLQ_OPERATION_TYPE_PURGE\x10\x02*\x9c\x01\n" +
|
||||
"\x11DLQOperationState\x12#\n" +
|
||||
"\x1fDLQ_OPERATION_STATE_UNSPECIFIED\x10\x00\x12\x1f\n" +
|
||||
"\x1bDLQ_OPERATION_STATE_RUNNING\x10\x01\x12!\n" +
|
||||
"\x1dDLQ_OPERATION_STATE_COMPLETED\x10\x02\x12\x1e\n" +
|
||||
"\x1aDLQ_OPERATION_STATE_FAILED\x10\x03B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_dlq_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_dlq_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_dlq_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_dlq_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_dlq_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_dlq_proto_rawDesc), len(file_temporal_server_api_enums_v1_dlq_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_dlq_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_dlq_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_temporal_server_api_enums_v1_dlq_proto_goTypes = []any{
|
||||
(DLQOperationType)(0), // 0: temporal.server.api.enums.v1.DLQOperationType
|
||||
(DLQOperationState)(0), // 1: temporal.server.api.enums.v1.DLQOperationState
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_dlq_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_server_api_enums_v1_dlq_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_dlq_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_dlq_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_dlq_proto_rawDesc), len(file_temporal_server_api_enums_v1_dlq_proto_rawDesc)),
|
||||
NumEnums: 2,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_dlq_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_dlq_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_dlq_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_dlq_proto = out.File
|
||||
file_temporal_server_api_enums_v1_dlq_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_dlq_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
FairnessState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"V0": 1,
|
||||
"V1": 2,
|
||||
"V2": 3,
|
||||
}
|
||||
)
|
||||
|
||||
// FairnessStateFromString parses a FairnessState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to FairnessState
|
||||
func FairnessStateFromString(s string) (FairnessState, error) {
|
||||
if v, ok := FairnessState_value[s]; ok {
|
||||
return FairnessState(v), nil
|
||||
} else if v, ok := FairnessState_shorthandValue[s]; ok {
|
||||
return FairnessState(v), nil
|
||||
}
|
||||
return FairnessState(0), fmt.Errorf("%s is not a valid FairnessState", s)
|
||||
}
|
||||
@@ -1,147 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/fairness_state.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 FairnessState int32
|
||||
|
||||
const (
|
||||
FAIRNESS_STATE_UNSPECIFIED FairnessState = 0
|
||||
FAIRNESS_STATE_V0 FairnessState = 1
|
||||
FAIRNESS_STATE_V1 FairnessState = 2
|
||||
FAIRNESS_STATE_V2 FairnessState = 3
|
||||
)
|
||||
|
||||
// Enum value maps for FairnessState.
|
||||
var (
|
||||
FairnessState_name = map[int32]string{
|
||||
0: "FAIRNESS_STATE_UNSPECIFIED",
|
||||
1: "FAIRNESS_STATE_V0",
|
||||
2: "FAIRNESS_STATE_V1",
|
||||
3: "FAIRNESS_STATE_V2",
|
||||
}
|
||||
FairnessState_value = map[string]int32{
|
||||
"FAIRNESS_STATE_UNSPECIFIED": 0,
|
||||
"FAIRNESS_STATE_V0": 1,
|
||||
"FAIRNESS_STATE_V1": 2,
|
||||
"FAIRNESS_STATE_V2": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x FairnessState) Enum() *FairnessState {
|
||||
p := new(FairnessState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x FairnessState) String() string {
|
||||
switch x {
|
||||
case FAIRNESS_STATE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case FAIRNESS_STATE_V0:
|
||||
return "V0"
|
||||
case FAIRNESS_STATE_V1:
|
||||
return "V1"
|
||||
case FAIRNESS_STATE_V2:
|
||||
return "V2"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (FairnessState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_fairness_state_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (FairnessState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_fairness_state_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x FairnessState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FairnessState.Descriptor instead.
|
||||
func (FairnessState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_fairness_state_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_fairness_state_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_fairness_state_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"1temporal/server/api/enums/v1/fairness_state.proto\x12\x1ctemporal.server.api.enums.v1*t\n" +
|
||||
"\rFairnessState\x12\x1e\n" +
|
||||
"\x1aFAIRNESS_STATE_UNSPECIFIED\x10\x00\x12\x15\n" +
|
||||
"\x11FAIRNESS_STATE_V0\x10\x01\x12\x15\n" +
|
||||
"\x11FAIRNESS_STATE_V1\x10\x02\x12\x15\n" +
|
||||
"\x11FAIRNESS_STATE_V2\x10\x03B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_fairness_state_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_fairness_state_proto_rawDesc), len(file_temporal_server_api_enums_v1_fairness_state_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_fairness_state_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_fairness_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_enums_v1_fairness_state_proto_goTypes = []any{
|
||||
(FairnessState)(0), // 0: temporal.server.api.enums.v1.FairnessState
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_fairness_state_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_server_api_enums_v1_fairness_state_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_fairness_state_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_fairness_state_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_fairness_state_proto_rawDesc), len(file_temporal_server_api_enums_v1_fairness_state_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_fairness_state_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_fairness_state_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_fairness_state_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_fairness_state_proto = out.File
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_fairness_state_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
NexusOperationState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Scheduled": 1,
|
||||
"BackingOff": 2,
|
||||
"Started": 3,
|
||||
"Succeeded": 4,
|
||||
"Failed": 5,
|
||||
"Canceled": 6,
|
||||
"TimedOut": 7,
|
||||
}
|
||||
)
|
||||
|
||||
// NexusOperationStateFromString parses a NexusOperationState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to NexusOperationState
|
||||
func NexusOperationStateFromString(s string) (NexusOperationState, error) {
|
||||
if v, ok := NexusOperationState_value[s]; ok {
|
||||
return NexusOperationState(v), nil
|
||||
} else if v, ok := NexusOperationState_shorthandValue[s]; ok {
|
||||
return NexusOperationState(v), nil
|
||||
}
|
||||
return NexusOperationState(0), fmt.Errorf("%s is not a valid NexusOperationState", s)
|
||||
}
|
||||
@@ -1,182 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/nexus.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 NexusOperationState int32
|
||||
|
||||
const (
|
||||
// Default value, unspecified state.
|
||||
NEXUS_OPERATION_STATE_UNSPECIFIED NexusOperationState = 0
|
||||
// Operation is in the queue waiting to be executed or is currently executing.
|
||||
NEXUS_OPERATION_STATE_SCHEDULED NexusOperationState = 1
|
||||
// Operation has failed with a retryable error and is backing off before the next attempt.
|
||||
NEXUS_OPERATION_STATE_BACKING_OFF NexusOperationState = 2
|
||||
// Operation was started and will complete asynchronously.
|
||||
NEXUS_OPERATION_STATE_STARTED NexusOperationState = 3
|
||||
// Operation succeeded.
|
||||
// This may happen either as a response to a start request or as reported via callback.
|
||||
NEXUS_OPERATION_STATE_SUCCEEDED NexusOperationState = 4
|
||||
// Operation failed either when a start request encounters a non-retryable error or as reported via callback.
|
||||
NEXUS_OPERATION_STATE_FAILED NexusOperationState = 5
|
||||
// Operation completed as canceled (may have not ever been delivered).
|
||||
// This may happen either as a response to a start request or as reported via callback.
|
||||
NEXUS_OPERATION_STATE_CANCELED NexusOperationState = 6
|
||||
// Operation timed out - exceeded the user supplied schedule-to-close timeout.
|
||||
// Any attempts to complete the operation in this state will be ignored.
|
||||
NEXUS_OPERATION_STATE_TIMED_OUT NexusOperationState = 7
|
||||
)
|
||||
|
||||
// Enum value maps for NexusOperationState.
|
||||
var (
|
||||
NexusOperationState_name = map[int32]string{
|
||||
0: "NEXUS_OPERATION_STATE_UNSPECIFIED",
|
||||
1: "NEXUS_OPERATION_STATE_SCHEDULED",
|
||||
2: "NEXUS_OPERATION_STATE_BACKING_OFF",
|
||||
3: "NEXUS_OPERATION_STATE_STARTED",
|
||||
4: "NEXUS_OPERATION_STATE_SUCCEEDED",
|
||||
5: "NEXUS_OPERATION_STATE_FAILED",
|
||||
6: "NEXUS_OPERATION_STATE_CANCELED",
|
||||
7: "NEXUS_OPERATION_STATE_TIMED_OUT",
|
||||
}
|
||||
NexusOperationState_value = map[string]int32{
|
||||
"NEXUS_OPERATION_STATE_UNSPECIFIED": 0,
|
||||
"NEXUS_OPERATION_STATE_SCHEDULED": 1,
|
||||
"NEXUS_OPERATION_STATE_BACKING_OFF": 2,
|
||||
"NEXUS_OPERATION_STATE_STARTED": 3,
|
||||
"NEXUS_OPERATION_STATE_SUCCEEDED": 4,
|
||||
"NEXUS_OPERATION_STATE_FAILED": 5,
|
||||
"NEXUS_OPERATION_STATE_CANCELED": 6,
|
||||
"NEXUS_OPERATION_STATE_TIMED_OUT": 7,
|
||||
}
|
||||
)
|
||||
|
||||
func (x NexusOperationState) Enum() *NexusOperationState {
|
||||
p := new(NexusOperationState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x NexusOperationState) String() string {
|
||||
switch x {
|
||||
case NEXUS_OPERATION_STATE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case NEXUS_OPERATION_STATE_SCHEDULED:
|
||||
return "Scheduled"
|
||||
case NEXUS_OPERATION_STATE_BACKING_OFF:
|
||||
return "BackingOff"
|
||||
case NEXUS_OPERATION_STATE_STARTED:
|
||||
return "Started"
|
||||
case NEXUS_OPERATION_STATE_SUCCEEDED:
|
||||
return "Succeeded"
|
||||
case NEXUS_OPERATION_STATE_FAILED:
|
||||
return "Failed"
|
||||
case NEXUS_OPERATION_STATE_CANCELED:
|
||||
return "Canceled"
|
||||
case NEXUS_OPERATION_STATE_TIMED_OUT:
|
||||
return "TimedOut"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (NexusOperationState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_nexus_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (NexusOperationState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_nexus_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x NexusOperationState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use NexusOperationState.Descriptor instead.
|
||||
func (NexusOperationState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_nexus_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_nexus_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_nexus_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"(temporal/server/api/enums/v1/nexus.proto\x12\x1ctemporal.server.api.enums.v1*\xbb\x02\n" +
|
||||
"\x13NexusOperationState\x12%\n" +
|
||||
"!NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12#\n" +
|
||||
"\x1fNEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12%\n" +
|
||||
"!NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12!\n" +
|
||||
"\x1dNEXUS_OPERATION_STATE_STARTED\x10\x03\x12#\n" +
|
||||
"\x1fNEXUS_OPERATION_STATE_SUCCEEDED\x10\x04\x12 \n" +
|
||||
"\x1cNEXUS_OPERATION_STATE_FAILED\x10\x05\x12\"\n" +
|
||||
"\x1eNEXUS_OPERATION_STATE_CANCELED\x10\x06\x12#\n" +
|
||||
"\x1fNEXUS_OPERATION_STATE_TIMED_OUT\x10\aB*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_nexus_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_nexus_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_nexus_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_nexus_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_nexus_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_nexus_proto_rawDesc), len(file_temporal_server_api_enums_v1_nexus_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_nexus_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_nexus_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_enums_v1_nexus_proto_goTypes = []any{
|
||||
(NexusOperationState)(0), // 0: temporal.server.api.enums.v1.NexusOperationState
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_nexus_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_server_api_enums_v1_nexus_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_nexus_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_nexus_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_nexus_proto_rawDesc), len(file_temporal_server_api_enums_v1_nexus_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_nexus_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_nexus_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_nexus_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_nexus_proto = out.File
|
||||
file_temporal_server_api_enums_v1_nexus_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_nexus_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
PredicateType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Universal": 1,
|
||||
"Empty": 2,
|
||||
"And": 3,
|
||||
"Or": 4,
|
||||
"Not": 5,
|
||||
"NamespaceId": 6,
|
||||
"TaskType": 7,
|
||||
"Destination": 8,
|
||||
"OutboundTaskGroup": 9,
|
||||
"OutboundTask": 10,
|
||||
}
|
||||
)
|
||||
|
||||
// PredicateTypeFromString parses a PredicateType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to PredicateType
|
||||
func PredicateTypeFromString(s string) (PredicateType, error) {
|
||||
if v, ok := PredicateType_value[s]; ok {
|
||||
return PredicateType(v), nil
|
||||
} else if v, ok := PredicateType_shorthandValue[s]; ok {
|
||||
return PredicateType(v), nil
|
||||
}
|
||||
return PredicateType(0), fmt.Errorf("%s is not a valid PredicateType", s)
|
||||
}
|
||||
@@ -1,194 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/predicate.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 PredicateType int32
|
||||
|
||||
const (
|
||||
PREDICATE_TYPE_UNSPECIFIED PredicateType = 0
|
||||
PREDICATE_TYPE_UNIVERSAL PredicateType = 1
|
||||
PREDICATE_TYPE_EMPTY PredicateType = 2
|
||||
PREDICATE_TYPE_AND PredicateType = 3
|
||||
PREDICATE_TYPE_OR PredicateType = 4
|
||||
PREDICATE_TYPE_NOT PredicateType = 5
|
||||
PREDICATE_TYPE_NAMESPACE_ID PredicateType = 6
|
||||
PREDICATE_TYPE_TASK_TYPE PredicateType = 7
|
||||
PREDICATE_TYPE_DESTINATION PredicateType = 8
|
||||
PREDICATE_TYPE_OUTBOUND_TASK_GROUP PredicateType = 9
|
||||
// Predicate used for grouping outbound tasks. Consists of task_group, namespace_id, and destination.
|
||||
// This replaces a previous implementation which used an AND predicate over 3 separate predicate types.
|
||||
PREDICATE_TYPE_OUTBOUND_TASK PredicateType = 10
|
||||
)
|
||||
|
||||
// Enum value maps for PredicateType.
|
||||
var (
|
||||
PredicateType_name = map[int32]string{
|
||||
0: "PREDICATE_TYPE_UNSPECIFIED",
|
||||
1: "PREDICATE_TYPE_UNIVERSAL",
|
||||
2: "PREDICATE_TYPE_EMPTY",
|
||||
3: "PREDICATE_TYPE_AND",
|
||||
4: "PREDICATE_TYPE_OR",
|
||||
5: "PREDICATE_TYPE_NOT",
|
||||
6: "PREDICATE_TYPE_NAMESPACE_ID",
|
||||
7: "PREDICATE_TYPE_TASK_TYPE",
|
||||
8: "PREDICATE_TYPE_DESTINATION",
|
||||
9: "PREDICATE_TYPE_OUTBOUND_TASK_GROUP",
|
||||
10: "PREDICATE_TYPE_OUTBOUND_TASK",
|
||||
}
|
||||
PredicateType_value = map[string]int32{
|
||||
"PREDICATE_TYPE_UNSPECIFIED": 0,
|
||||
"PREDICATE_TYPE_UNIVERSAL": 1,
|
||||
"PREDICATE_TYPE_EMPTY": 2,
|
||||
"PREDICATE_TYPE_AND": 3,
|
||||
"PREDICATE_TYPE_OR": 4,
|
||||
"PREDICATE_TYPE_NOT": 5,
|
||||
"PREDICATE_TYPE_NAMESPACE_ID": 6,
|
||||
"PREDICATE_TYPE_TASK_TYPE": 7,
|
||||
"PREDICATE_TYPE_DESTINATION": 8,
|
||||
"PREDICATE_TYPE_OUTBOUND_TASK_GROUP": 9,
|
||||
"PREDICATE_TYPE_OUTBOUND_TASK": 10,
|
||||
}
|
||||
)
|
||||
|
||||
func (x PredicateType) Enum() *PredicateType {
|
||||
p := new(PredicateType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x PredicateType) String() string {
|
||||
switch x {
|
||||
case PREDICATE_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case PREDICATE_TYPE_UNIVERSAL:
|
||||
return "Universal"
|
||||
case PREDICATE_TYPE_EMPTY:
|
||||
return "Empty"
|
||||
case PREDICATE_TYPE_AND:
|
||||
return "And"
|
||||
case PREDICATE_TYPE_OR:
|
||||
return "Or"
|
||||
case PREDICATE_TYPE_NOT:
|
||||
return "Not"
|
||||
case PREDICATE_TYPE_NAMESPACE_ID:
|
||||
return "NamespaceId"
|
||||
case PREDICATE_TYPE_TASK_TYPE:
|
||||
return "TaskType"
|
||||
case PREDICATE_TYPE_DESTINATION:
|
||||
return "Destination"
|
||||
case PREDICATE_TYPE_OUTBOUND_TASK_GROUP:
|
||||
return "OutboundTaskGroup"
|
||||
case
|
||||
|
||||
// Deprecated: Use PredicateType.Descriptor instead.
|
||||
PREDICATE_TYPE_OUTBOUND_TASK:
|
||||
return "OutboundTask"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (PredicateType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_predicate_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (PredicateType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_predicate_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x PredicateType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
func (PredicateType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_predicate_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_predicate_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_predicate_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",temporal/server/api/enums/v1/predicate.proto\x12\x1ctemporal.server.api.enums.v1*\xd7\x02\n" +
|
||||
"\rPredicateType\x12\x1e\n" +
|
||||
"\x1aPREDICATE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n" +
|
||||
"\x18PREDICATE_TYPE_UNIVERSAL\x10\x01\x12\x18\n" +
|
||||
"\x14PREDICATE_TYPE_EMPTY\x10\x02\x12\x16\n" +
|
||||
"\x12PREDICATE_TYPE_AND\x10\x03\x12\x15\n" +
|
||||
"\x11PREDICATE_TYPE_OR\x10\x04\x12\x16\n" +
|
||||
"\x12PREDICATE_TYPE_NOT\x10\x05\x12\x1f\n" +
|
||||
"\x1bPREDICATE_TYPE_NAMESPACE_ID\x10\x06\x12\x1c\n" +
|
||||
"\x18PREDICATE_TYPE_TASK_TYPE\x10\a\x12\x1e\n" +
|
||||
"\x1aPREDICATE_TYPE_DESTINATION\x10\b\x12&\n" +
|
||||
"\"PREDICATE_TYPE_OUTBOUND_TASK_GROUP\x10\t\x12 \n" +
|
||||
"\x1cPREDICATE_TYPE_OUTBOUND_TASK\x10\n" +
|
||||
"B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_predicate_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_predicate_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_predicate_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_predicate_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_predicate_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_predicate_proto_rawDesc), len(file_temporal_server_api_enums_v1_predicate_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_predicate_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_predicate_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_enums_v1_predicate_proto_goTypes = []any{
|
||||
(PredicateType)(0), // 0: temporal.server.api.enums.v1.PredicateType
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_predicate_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_server_api_enums_v1_predicate_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_predicate_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_predicate_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_predicate_proto_rawDesc), len(file_temporal_server_api_enums_v1_predicate_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_predicate_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_predicate_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_predicate_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_predicate_proto = out.File
|
||||
file_temporal_server_api_enums_v1_predicate_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_predicate_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
ReplicationTaskType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"NamespaceTask": 1,
|
||||
"HistoryTask": 2,
|
||||
"SyncShardStatusTask": 3,
|
||||
"SyncActivityTask": 4,
|
||||
"HistoryMetadataTask": 5,
|
||||
"HistoryV2Task": 6,
|
||||
"SyncWorkflowStateTask": 7,
|
||||
"TaskQueueUserData": 8,
|
||||
"SyncHsmTask": 9,
|
||||
"BackfillHistoryTask": 10,
|
||||
"VerifyVersionedTransitionTask": 11,
|
||||
"SyncVersionedTransitionTask": 12,
|
||||
}
|
||||
)
|
||||
|
||||
// ReplicationTaskTypeFromString parses a ReplicationTaskType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ReplicationTaskType
|
||||
func ReplicationTaskTypeFromString(s string) (ReplicationTaskType, error) {
|
||||
if v, ok := ReplicationTaskType_value[s]; ok {
|
||||
return ReplicationTaskType(v), nil
|
||||
} else if v, ok := ReplicationTaskType_shorthandValue[s]; ok {
|
||||
return ReplicationTaskType(v), nil
|
||||
}
|
||||
return ReplicationTaskType(0), fmt.Errorf("%s is not a valid ReplicationTaskType", s)
|
||||
}
|
||||
|
||||
var (
|
||||
NamespaceOperation_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Create": 1,
|
||||
"Update": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// NamespaceOperationFromString parses a NamespaceOperation value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to NamespaceOperation
|
||||
func NamespaceOperationFromString(s string) (NamespaceOperation, error) {
|
||||
if v, ok := NamespaceOperation_value[s]; ok {
|
||||
return NamespaceOperation(v), nil
|
||||
} else if v, ok := NamespaceOperation_shorthandValue[s]; ok {
|
||||
return NamespaceOperation(v), nil
|
||||
}
|
||||
return NamespaceOperation(0), fmt.Errorf("%s is not a valid NamespaceOperation", s)
|
||||
}
|
||||
|
||||
var (
|
||||
ReplicationFlowControlCommand_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Resume": 1,
|
||||
"Pause": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// ReplicationFlowControlCommandFromString parses a ReplicationFlowControlCommand value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to ReplicationFlowControlCommand
|
||||
func ReplicationFlowControlCommandFromString(s string) (ReplicationFlowControlCommand, error) {
|
||||
if v, ok := ReplicationFlowControlCommand_value[s]; ok {
|
||||
return ReplicationFlowControlCommand(v), nil
|
||||
} else if v, ok := ReplicationFlowControlCommand_shorthandValue[s]; ok {
|
||||
return ReplicationFlowControlCommand(v), nil
|
||||
}
|
||||
return ReplicationFlowControlCommand(0), fmt.Errorf("%s is not a valid ReplicationFlowControlCommand", s)
|
||||
}
|
||||
@@ -1,333 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/replication.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 ReplicationTaskType int32
|
||||
|
||||
const (
|
||||
REPLICATION_TASK_TYPE_UNSPECIFIED ReplicationTaskType = 0
|
||||
REPLICATION_TASK_TYPE_NAMESPACE_TASK ReplicationTaskType = 1
|
||||
REPLICATION_TASK_TYPE_HISTORY_TASK ReplicationTaskType = 2
|
||||
REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS_TASK ReplicationTaskType = 3
|
||||
REPLICATION_TASK_TYPE_SYNC_ACTIVITY_TASK ReplicationTaskType = 4
|
||||
REPLICATION_TASK_TYPE_HISTORY_METADATA_TASK ReplicationTaskType = 5
|
||||
REPLICATION_TASK_TYPE_HISTORY_V2_TASK ReplicationTaskType = 6
|
||||
REPLICATION_TASK_TYPE_SYNC_WORKFLOW_STATE_TASK ReplicationTaskType = 7
|
||||
REPLICATION_TASK_TYPE_TASK_QUEUE_USER_DATA ReplicationTaskType = 8
|
||||
REPLICATION_TASK_TYPE_SYNC_HSM_TASK ReplicationTaskType = 9
|
||||
REPLICATION_TASK_TYPE_BACKFILL_HISTORY_TASK ReplicationTaskType = 10
|
||||
REPLICATION_TASK_TYPE_VERIFY_VERSIONED_TRANSITION_TASK ReplicationTaskType = 11
|
||||
REPLICATION_TASK_TYPE_SYNC_VERSIONED_TRANSITION_TASK ReplicationTaskType = 12
|
||||
)
|
||||
|
||||
// Enum value maps for ReplicationTaskType.
|
||||
var (
|
||||
ReplicationTaskType_name = map[int32]string{
|
||||
0: "REPLICATION_TASK_TYPE_UNSPECIFIED",
|
||||
1: "REPLICATION_TASK_TYPE_NAMESPACE_TASK",
|
||||
2: "REPLICATION_TASK_TYPE_HISTORY_TASK",
|
||||
3: "REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS_TASK",
|
||||
4: "REPLICATION_TASK_TYPE_SYNC_ACTIVITY_TASK",
|
||||
5: "REPLICATION_TASK_TYPE_HISTORY_METADATA_TASK",
|
||||
6: "REPLICATION_TASK_TYPE_HISTORY_V2_TASK",
|
||||
7: "REPLICATION_TASK_TYPE_SYNC_WORKFLOW_STATE_TASK",
|
||||
8: "REPLICATION_TASK_TYPE_TASK_QUEUE_USER_DATA",
|
||||
9: "REPLICATION_TASK_TYPE_SYNC_HSM_TASK",
|
||||
10: "REPLICATION_TASK_TYPE_BACKFILL_HISTORY_TASK",
|
||||
11: "REPLICATION_TASK_TYPE_VERIFY_VERSIONED_TRANSITION_TASK",
|
||||
12: "REPLICATION_TASK_TYPE_SYNC_VERSIONED_TRANSITION_TASK",
|
||||
}
|
||||
ReplicationTaskType_value = map[string]int32{
|
||||
"REPLICATION_TASK_TYPE_UNSPECIFIED": 0,
|
||||
"REPLICATION_TASK_TYPE_NAMESPACE_TASK": 1,
|
||||
"REPLICATION_TASK_TYPE_HISTORY_TASK": 2,
|
||||
"REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS_TASK": 3,
|
||||
"REPLICATION_TASK_TYPE_SYNC_ACTIVITY_TASK": 4,
|
||||
"REPLICATION_TASK_TYPE_HISTORY_METADATA_TASK": 5,
|
||||
"REPLICATION_TASK_TYPE_HISTORY_V2_TASK": 6,
|
||||
"REPLICATION_TASK_TYPE_SYNC_WORKFLOW_STATE_TASK": 7,
|
||||
"REPLICATION_TASK_TYPE_TASK_QUEUE_USER_DATA": 8,
|
||||
"REPLICATION_TASK_TYPE_SYNC_HSM_TASK": 9,
|
||||
"REPLICATION_TASK_TYPE_BACKFILL_HISTORY_TASK": 10,
|
||||
"REPLICATION_TASK_TYPE_VERIFY_VERSIONED_TRANSITION_TASK": 11,
|
||||
"REPLICATION_TASK_TYPE_SYNC_VERSIONED_TRANSITION_TASK": 12,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ReplicationTaskType) Enum() *ReplicationTaskType {
|
||||
p := new(ReplicationTaskType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ReplicationTaskType) String() string {
|
||||
switch x {
|
||||
case REPLICATION_TASK_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case REPLICATION_TASK_TYPE_NAMESPACE_TASK:
|
||||
return "NamespaceTask"
|
||||
case REPLICATION_TASK_TYPE_HISTORY_TASK:
|
||||
return "HistoryTask"
|
||||
case REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS_TASK:
|
||||
return "SyncShardStatusTask"
|
||||
case REPLICATION_TASK_TYPE_SYNC_ACTIVITY_TASK:
|
||||
return "SyncActivityTask"
|
||||
case REPLICATION_TASK_TYPE_HISTORY_METADATA_TASK:
|
||||
return "HistoryMetadataTask"
|
||||
case REPLICATION_TASK_TYPE_HISTORY_V2_TASK:
|
||||
return "HistoryV2Task"
|
||||
case REPLICATION_TASK_TYPE_SYNC_WORKFLOW_STATE_TASK:
|
||||
|
||||
// Deprecated: Use ReplicationTaskType.Descriptor instead.
|
||||
return "SyncWorkflowStateTask"
|
||||
case REPLICATION_TASK_TYPE_TASK_QUEUE_USER_DATA:
|
||||
return "TaskQueueUserData"
|
||||
case REPLICATION_TASK_TYPE_SYNC_HSM_TASK:
|
||||
return "SyncHsmTask"
|
||||
case REPLICATION_TASK_TYPE_BACKFILL_HISTORY_TASK:
|
||||
return "BackfillHistoryTask"
|
||||
case REPLICATION_TASK_TYPE_VERIFY_VERSIONED_TRANSITION_TASK:
|
||||
return "VerifyVersionedTransitionTask"
|
||||
case REPLICATION_TASK_TYPE_SYNC_VERSIONED_TRANSITION_TASK:
|
||||
return "SyncVersionedTransitionTask"
|
||||
default:
|
||||
return strconv.
|
||||
|
||||
// Enum value maps for NamespaceOperation.
|
||||
Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (ReplicationTaskType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (ReplicationTaskType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_replication_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x ReplicationTaskType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
func (ReplicationTaskType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type NamespaceOperation int32
|
||||
|
||||
const (
|
||||
NAMESPACE_OPERATION_UNSPECIFIED NamespaceOperation = 0
|
||||
NAMESPACE_OPERATION_CREATE NamespaceOperation = 1
|
||||
NAMESPACE_OPERATION_UPDATE NamespaceOperation = 2
|
||||
)
|
||||
|
||||
var (
|
||||
NamespaceOperation_name = map[int32]string{
|
||||
0: "NAMESPACE_OPERATION_UNSPECIFIED",
|
||||
1: "NAMESPACE_OPERATION_CREATE",
|
||||
2: "NAMESPACE_OPERATION_UPDATE",
|
||||
}
|
||||
NamespaceOperation_value = map[string]int32{
|
||||
"NAMESPACE_OPERATION_UNSPECIFIED": 0,
|
||||
"NAMESPACE_OPERATION_CREATE": 1,
|
||||
"NAMESPACE_OPERATION_UPDATE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x NamespaceOperation) Enum() *NamespaceOperation {
|
||||
p := new(NamespaceOperation)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x NamespaceOperation) String() string {
|
||||
switch x {
|
||||
case NAMESPACE_OPERATION_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case NAMESPACE_OPERATION_CREATE:
|
||||
return "Create"
|
||||
case NAMESPACE_OPERATION_UPDATE:
|
||||
return "Update"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (NamespaceOperation) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (NamespaceOperation) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_replication_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x NamespaceOperation) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use NamespaceOperation.Descriptor instead.
|
||||
func (NamespaceOperation) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type ReplicationFlowControlCommand int32
|
||||
|
||||
const (
|
||||
REPLICATION_FLOW_CONTROL_COMMAND_UNSPECIFIED ReplicationFlowControlCommand = 0
|
||||
REPLICATION_FLOW_CONTROL_COMMAND_RESUME ReplicationFlowControlCommand = 1
|
||||
REPLICATION_FLOW_CONTROL_COMMAND_PAUSE ReplicationFlowControlCommand = 2
|
||||
)
|
||||
|
||||
// Enum value maps for ReplicationFlowControlCommand.
|
||||
var (
|
||||
ReplicationFlowControlCommand_name = map[int32]string{
|
||||
0: "REPLICATION_FLOW_CONTROL_COMMAND_UNSPECIFIED",
|
||||
1: "REPLICATION_FLOW_CONTROL_COMMAND_RESUME",
|
||||
2: "REPLICATION_FLOW_CONTROL_COMMAND_PAUSE",
|
||||
}
|
||||
ReplicationFlowControlCommand_value = map[string]int32{
|
||||
"REPLICATION_FLOW_CONTROL_COMMAND_UNSPECIFIED": 0,
|
||||
"REPLICATION_FLOW_CONTROL_COMMAND_RESUME": 1,
|
||||
"REPLICATION_FLOW_CONTROL_COMMAND_PAUSE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ReplicationFlowControlCommand) Enum() *ReplicationFlowControlCommand {
|
||||
p := new(ReplicationFlowControlCommand)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ReplicationFlowControlCommand) String() string {
|
||||
switch x {
|
||||
case REPLICATION_FLOW_CONTROL_COMMAND_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case REPLICATION_FLOW_CONTROL_COMMAND_RESUME:
|
||||
return "Resume"
|
||||
case REPLICATION_FLOW_CONTROL_COMMAND_PAUSE:
|
||||
return "Pause"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (ReplicationFlowControlCommand) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (ReplicationFlowControlCommand) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_replication_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x ReplicationFlowControlCommand) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ReplicationFlowControlCommand.Descriptor instead.
|
||||
func (ReplicationFlowControlCommand) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_replication_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_replication_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_replication_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
".temporal/server/api/enums/v1/replication.proto\x12\x1ctemporal.server.api.enums.v1*\xfe\x04\n" +
|
||||
"\x13ReplicationTaskType\x12%\n" +
|
||||
"!REPLICATION_TASK_TYPE_UNSPECIFIED\x10\x00\x12(\n" +
|
||||
"$REPLICATION_TASK_TYPE_NAMESPACE_TASK\x10\x01\x12&\n" +
|
||||
"\"REPLICATION_TASK_TYPE_HISTORY_TASK\x10\x02\x120\n" +
|
||||
",REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS_TASK\x10\x03\x12,\n" +
|
||||
"(REPLICATION_TASK_TYPE_SYNC_ACTIVITY_TASK\x10\x04\x12/\n" +
|
||||
"+REPLICATION_TASK_TYPE_HISTORY_METADATA_TASK\x10\x05\x12)\n" +
|
||||
"%REPLICATION_TASK_TYPE_HISTORY_V2_TASK\x10\x06\x122\n" +
|
||||
".REPLICATION_TASK_TYPE_SYNC_WORKFLOW_STATE_TASK\x10\a\x12.\n" +
|
||||
"*REPLICATION_TASK_TYPE_TASK_QUEUE_USER_DATA\x10\b\x12'\n" +
|
||||
"#REPLICATION_TASK_TYPE_SYNC_HSM_TASK\x10\t\x12/\n" +
|
||||
"+REPLICATION_TASK_TYPE_BACKFILL_HISTORY_TASK\x10\n" +
|
||||
"\x12:\n" +
|
||||
"6REPLICATION_TASK_TYPE_VERIFY_VERSIONED_TRANSITION_TASK\x10\v\x128\n" +
|
||||
"4REPLICATION_TASK_TYPE_SYNC_VERSIONED_TRANSITION_TASK\x10\f*y\n" +
|
||||
"\x12NamespaceOperation\x12#\n" +
|
||||
"\x1fNAMESPACE_OPERATION_UNSPECIFIED\x10\x00\x12\x1e\n" +
|
||||
"\x1aNAMESPACE_OPERATION_CREATE\x10\x01\x12\x1e\n" +
|
||||
"\x1aNAMESPACE_OPERATION_UPDATE\x10\x02*\xaa\x01\n" +
|
||||
"\x1dReplicationFlowControlCommand\x120\n" +
|
||||
",REPLICATION_FLOW_CONTROL_COMMAND_UNSPECIFIED\x10\x00\x12+\n" +
|
||||
"'REPLICATION_FLOW_CONTROL_COMMAND_RESUME\x10\x01\x12*\n" +
|
||||
"&REPLICATION_FLOW_CONTROL_COMMAND_PAUSE\x10\x02B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_replication_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_replication_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_replication_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_replication_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_replication_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_replication_proto_rawDesc), len(file_temporal_server_api_enums_v1_replication_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_replication_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_replication_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_temporal_server_api_enums_v1_replication_proto_goTypes = []any{
|
||||
(ReplicationTaskType)(0), // 0: temporal.server.api.enums.v1.ReplicationTaskType
|
||||
(NamespaceOperation)(0), // 1: temporal.server.api.enums.v1.NamespaceOperation
|
||||
(ReplicationFlowControlCommand)(0), // 2: temporal.server.api.enums.v1.ReplicationFlowControlCommand
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_replication_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_server_api_enums_v1_replication_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_replication_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_replication_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_replication_proto_rawDesc), len(file_temporal_server_api_enums_v1_replication_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_replication_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_replication_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_replication_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_replication_proto = out.File
|
||||
file_temporal_server_api_enums_v1_replication_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_replication_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
TaskSource_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"History": 1,
|
||||
"DbBacklog": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// TaskSourceFromString parses a TaskSource value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to TaskSource
|
||||
func TaskSourceFromString(s string) (TaskSource, error) {
|
||||
if v, ok := TaskSource_value[s]; ok {
|
||||
return TaskSource(v), nil
|
||||
} else if v, ok := TaskSource_shorthandValue[s]; ok {
|
||||
return TaskSource(v), nil
|
||||
}
|
||||
return TaskSource(0), fmt.Errorf("%s is not a valid TaskSource", s)
|
||||
}
|
||||
|
||||
var (
|
||||
TaskType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"ReplicationHistory": 1,
|
||||
"ReplicationSyncActivity": 2,
|
||||
"TransferWorkflowTask": 3,
|
||||
"TransferActivityTask": 4,
|
||||
"TransferCloseExecution": 5,
|
||||
"TransferCancelExecution": 6,
|
||||
"TransferStartChildExecution": 7,
|
||||
"TransferSignalExecution": 8,
|
||||
"TransferResetWorkflow": 10,
|
||||
"WorkflowTaskTimeout": 12,
|
||||
"ActivityTimeout": 13,
|
||||
"UserTimer": 14,
|
||||
"WorkflowRunTimeout": 15,
|
||||
"DeleteHistoryEvent": 16,
|
||||
"ActivityRetryTimer": 17,
|
||||
"WorkflowBackoffTimer": 18,
|
||||
"VisibilityStartExecution": 19,
|
||||
"VisibilityUpsertExecution": 20,
|
||||
"VisibilityCloseExecution": 21,
|
||||
"VisibilityDeleteExecution": 22,
|
||||
"TransferDeleteExecution": 24,
|
||||
"ReplicationSyncWorkflowState": 25,
|
||||
"ArchivalArchiveExecution": 26,
|
||||
"StateMachineOutbound": 27,
|
||||
"StateMachineTimer": 28,
|
||||
"WorkflowExecutionTimeout": 29,
|
||||
"ReplicationSyncHsm": 30,
|
||||
"ReplicationSyncVersionedTransition": 31,
|
||||
"ChasmPure": 32,
|
||||
"Chasm": 33,
|
||||
}
|
||||
)
|
||||
|
||||
// TaskTypeFromString parses a TaskType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to TaskType
|
||||
func TaskTypeFromString(s string) (TaskType, error) {
|
||||
if v, ok := TaskType_value[s]; ok {
|
||||
return TaskType(v), nil
|
||||
} else if v, ok := TaskType_shorthandValue[s]; ok {
|
||||
return TaskType(v), nil
|
||||
}
|
||||
return TaskType(0), fmt.Errorf("%s is not a valid TaskType", s)
|
||||
}
|
||||
|
||||
var (
|
||||
TaskPriority_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"High": 1,
|
||||
"Low": 10,
|
||||
}
|
||||
)
|
||||
|
||||
// TaskPriorityFromString parses a TaskPriority value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to TaskPriority
|
||||
func TaskPriorityFromString(s string) (TaskPriority, error) {
|
||||
if v, ok := TaskPriority_value[s]; ok {
|
||||
return TaskPriority(v), nil
|
||||
} else if v, ok := TaskPriority_shorthandValue[s]; ok {
|
||||
return TaskPriority(v), nil
|
||||
}
|
||||
return TaskPriority(0), fmt.Errorf("%s is not a valid TaskPriority", s)
|
||||
}
|
||||
@@ -1,458 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/task.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// TaskSource is the source from which a task was produced.
|
||||
type TaskSource int32
|
||||
|
||||
const (
|
||||
TASK_SOURCE_UNSPECIFIED TaskSource = 0
|
||||
// Task produced by history service.
|
||||
TASK_SOURCE_HISTORY TaskSource = 1
|
||||
// Task produced from matching db backlog.
|
||||
TASK_SOURCE_DB_BACKLOG TaskSource = 2
|
||||
)
|
||||
|
||||
// Enum value maps for TaskSource.
|
||||
var (
|
||||
TaskSource_name = map[int32]string{
|
||||
0: "TASK_SOURCE_UNSPECIFIED",
|
||||
1: "TASK_SOURCE_HISTORY",
|
||||
2: "TASK_SOURCE_DB_BACKLOG",
|
||||
}
|
||||
TaskSource_value = map[string]int32{
|
||||
"TASK_SOURCE_UNSPECIFIED": 0,
|
||||
"TASK_SOURCE_HISTORY": 1,
|
||||
"TASK_SOURCE_DB_BACKLOG": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x TaskSource) Enum() *TaskSource {
|
||||
p := new(TaskSource)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x TaskSource) String() string {
|
||||
switch x {
|
||||
case TASK_SOURCE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case TASK_SOURCE_HISTORY:
|
||||
return "History"
|
||||
case TASK_SOURCE_DB_BACKLOG:
|
||||
return "DbBacklog"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (TaskSource) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_task_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (TaskSource) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_task_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x TaskSource) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TaskSource.Descriptor instead.
|
||||
func (TaskSource) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_task_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type TaskType int32
|
||||
|
||||
const (
|
||||
TASK_TYPE_UNSPECIFIED TaskType = 0
|
||||
TASK_TYPE_REPLICATION_HISTORY TaskType = 1
|
||||
TASK_TYPE_REPLICATION_SYNC_ACTIVITY TaskType = 2
|
||||
TASK_TYPE_TRANSFER_WORKFLOW_TASK TaskType = 3
|
||||
TASK_TYPE_TRANSFER_ACTIVITY_TASK TaskType = 4
|
||||
TASK_TYPE_TRANSFER_CLOSE_EXECUTION TaskType = 5
|
||||
TASK_TYPE_TRANSFER_CANCEL_EXECUTION TaskType = 6
|
||||
TASK_TYPE_TRANSFER_START_CHILD_EXECUTION TaskType = 7
|
||||
TASK_TYPE_TRANSFER_SIGNAL_EXECUTION TaskType = 8
|
||||
TASK_TYPE_TRANSFER_RESET_WORKFLOW TaskType = 10
|
||||
TASK_TYPE_WORKFLOW_TASK_TIMEOUT TaskType = 12
|
||||
TASK_TYPE_ACTIVITY_TIMEOUT TaskType = 13
|
||||
TASK_TYPE_USER_TIMER TaskType = 14
|
||||
TASK_TYPE_WORKFLOW_RUN_TIMEOUT TaskType = 15
|
||||
TASK_TYPE_DELETE_HISTORY_EVENT TaskType = 16
|
||||
TASK_TYPE_ACTIVITY_RETRY_TIMER TaskType = 17
|
||||
TASK_TYPE_WORKFLOW_BACKOFF_TIMER TaskType = 18
|
||||
TASK_TYPE_VISIBILITY_START_EXECUTION TaskType = 19
|
||||
TASK_TYPE_VISIBILITY_UPSERT_EXECUTION TaskType = 20
|
||||
TASK_TYPE_VISIBILITY_CLOSE_EXECUTION TaskType = 21
|
||||
TASK_TYPE_VISIBILITY_DELETE_EXECUTION TaskType = 22
|
||||
TASK_TYPE_TRANSFER_DELETE_EXECUTION TaskType = 24
|
||||
TASK_TYPE_REPLICATION_SYNC_WORKFLOW_STATE TaskType = 25
|
||||
TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION TaskType = 26
|
||||
// An immediate outbound task generated by a state machine.
|
||||
// Outbound tasks specify a destination that is used to group tasks into a per namespace-and-destination
|
||||
// scheduler.
|
||||
TASK_TYPE_STATE_MACHINE_OUTBOUND TaskType = 27
|
||||
// A timer task generated by a state machine.
|
||||
TASK_TYPE_STATE_MACHINE_TIMER TaskType = 28
|
||||
// Timeout task for the entire workflow execution chain.
|
||||
TASK_TYPE_WORKFLOW_EXECUTION_TIMEOUT TaskType = 29
|
||||
TASK_TYPE_REPLICATION_SYNC_HSM TaskType = 30
|
||||
TASK_TYPE_REPLICATION_SYNC_VERSIONED_TRANSITION TaskType = 31
|
||||
// A task that applies a batch of state changes to a CHASM entity.
|
||||
TASK_TYPE_CHASM_PURE TaskType = 32
|
||||
// A task with side effects generated by a CHASM component.
|
||||
TASK_TYPE_CHASM TaskType = 33
|
||||
)
|
||||
|
||||
// Enum value maps for TaskType.
|
||||
var (
|
||||
TaskType_name = map[int32]string{
|
||||
0: "TASK_TYPE_UNSPECIFIED",
|
||||
1: "TASK_TYPE_REPLICATION_HISTORY",
|
||||
2: "TASK_TYPE_REPLICATION_SYNC_ACTIVITY",
|
||||
3: "TASK_TYPE_TRANSFER_WORKFLOW_TASK",
|
||||
4: "TASK_TYPE_TRANSFER_ACTIVITY_TASK",
|
||||
5: "TASK_TYPE_TRANSFER_CLOSE_EXECUTION",
|
||||
6: "TASK_TYPE_TRANSFER_CANCEL_EXECUTION",
|
||||
7: "TASK_TYPE_TRANSFER_START_CHILD_EXECUTION",
|
||||
8: "TASK_TYPE_TRANSFER_SIGNAL_EXECUTION",
|
||||
10: "TASK_TYPE_TRANSFER_RESET_WORKFLOW",
|
||||
12: "TASK_TYPE_WORKFLOW_TASK_TIMEOUT",
|
||||
13: "TASK_TYPE_ACTIVITY_TIMEOUT",
|
||||
14: "TASK_TYPE_USER_TIMER",
|
||||
15: "TASK_TYPE_WORKFLOW_RUN_TIMEOUT",
|
||||
16: "TASK_TYPE_DELETE_HISTORY_EVENT",
|
||||
17: "TASK_TYPE_ACTIVITY_RETRY_TIMER",
|
||||
18: "TASK_TYPE_WORKFLOW_BACKOFF_TIMER",
|
||||
19: "TASK_TYPE_VISIBILITY_START_EXECUTION",
|
||||
20: "TASK_TYPE_VISIBILITY_UPSERT_EXECUTION",
|
||||
21: "TASK_TYPE_VISIBILITY_CLOSE_EXECUTION",
|
||||
22: "TASK_TYPE_VISIBILITY_DELETE_EXECUTION",
|
||||
24: "TASK_TYPE_TRANSFER_DELETE_EXECUTION",
|
||||
25: "TASK_TYPE_REPLICATION_SYNC_WORKFLOW_STATE",
|
||||
26: "TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION",
|
||||
27: "TASK_TYPE_STATE_MACHINE_OUTBOUND",
|
||||
28: "TASK_TYPE_STATE_MACHINE_TIMER",
|
||||
29: "TASK_TYPE_WORKFLOW_EXECUTION_TIMEOUT",
|
||||
30: "TASK_TYPE_REPLICATION_SYNC_HSM",
|
||||
31: "TASK_TYPE_REPLICATION_SYNC_VERSIONED_TRANSITION",
|
||||
32: "TASK_TYPE_CHASM_PURE",
|
||||
33: "TASK_TYPE_CHASM",
|
||||
}
|
||||
TaskType_value = map[string]int32{
|
||||
"TASK_TYPE_UNSPECIFIED": 0,
|
||||
"TASK_TYPE_REPLICATION_HISTORY": 1,
|
||||
"TASK_TYPE_REPLICATION_SYNC_ACTIVITY": 2,
|
||||
"TASK_TYPE_TRANSFER_WORKFLOW_TASK": 3,
|
||||
"TASK_TYPE_TRANSFER_ACTIVITY_TASK": 4,
|
||||
"TASK_TYPE_TRANSFER_CLOSE_EXECUTION": 5,
|
||||
"TASK_TYPE_TRANSFER_CANCEL_EXECUTION": 6,
|
||||
"TASK_TYPE_TRANSFER_START_CHILD_EXECUTION": 7,
|
||||
"TASK_TYPE_TRANSFER_SIGNAL_EXECUTION": 8,
|
||||
"TASK_TYPE_TRANSFER_RESET_WORKFLOW": 10,
|
||||
"TASK_TYPE_WORKFLOW_TASK_TIMEOUT": 12,
|
||||
"TASK_TYPE_ACTIVITY_TIMEOUT": 13,
|
||||
"TASK_TYPE_USER_TIMER": 14,
|
||||
"TASK_TYPE_WORKFLOW_RUN_TIMEOUT": 15,
|
||||
"TASK_TYPE_DELETE_HISTORY_EVENT": 16,
|
||||
"TASK_TYPE_ACTIVITY_RETRY_TIMER": 17,
|
||||
"TASK_TYPE_WORKFLOW_BACKOFF_TIMER": 18,
|
||||
"TASK_TYPE_VISIBILITY_START_EXECUTION": 19,
|
||||
"TASK_TYPE_VISIBILITY_UPSERT_EXECUTION": 20,
|
||||
"TASK_TYPE_VISIBILITY_CLOSE_EXECUTION": 21,
|
||||
"TASK_TYPE_VISIBILITY_DELETE_EXECUTION": 22,
|
||||
"TASK_TYPE_TRANSFER_DELETE_EXECUTION": 24,
|
||||
"TASK_TYPE_REPLICATION_SYNC_WORKFLOW_STATE": 25,
|
||||
"TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION": 26,
|
||||
"TASK_TYPE_STATE_MACHINE_OUTBOUND": 27,
|
||||
"TASK_TYPE_STATE_MACHINE_TIMER": 28,
|
||||
"TASK_TYPE_WORKFLOW_EXECUTION_TIMEOUT": 29,
|
||||
"TASK_TYPE_REPLICATION_SYNC_HSM": 30,
|
||||
"TASK_TYPE_REPLICATION_SYNC_VERSIONED_TRANSITION": 31,
|
||||
"TASK_TYPE_CHASM_PURE": 32,
|
||||
"TASK_TYPE_CHASM": 33,
|
||||
}
|
||||
)
|
||||
|
||||
func (x TaskType) Enum() *TaskType {
|
||||
p := new(TaskType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x TaskType) String() string {
|
||||
switch x {
|
||||
case TASK_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case TASK_TYPE_REPLICATION_HISTORY:
|
||||
return "ReplicationHistory"
|
||||
case TASK_TYPE_REPLICATION_SYNC_ACTIVITY:
|
||||
return "ReplicationSyncActivity"
|
||||
case TASK_TYPE_TRANSFER_WORKFLOW_TASK:
|
||||
return "TransferWorkflowTask"
|
||||
case TASK_TYPE_TRANSFER_ACTIVITY_TASK:
|
||||
return "TransferActivityTask"
|
||||
case TASK_TYPE_TRANSFER_CLOSE_EXECUTION:
|
||||
return "TransferCloseExecution"
|
||||
case TASK_TYPE_TRANSFER_CANCEL_EXECUTION:
|
||||
return "TransferCancelExecution"
|
||||
|
||||
// Deprecated: Use TaskType.Descriptor instead.
|
||||
case TASK_TYPE_TRANSFER_START_CHILD_EXECUTION:
|
||||
return "TransferStartChildExecution"
|
||||
case TASK_TYPE_TRANSFER_SIGNAL_EXECUTION:
|
||||
return "TransferSignalExecution"
|
||||
case TASK_TYPE_TRANSFER_RESET_WORKFLOW:
|
||||
|
||||
// TaskPriority is only used for replication task as of May 2024
|
||||
return "TransferResetWorkflow"
|
||||
case TASK_TYPE_WORKFLOW_TASK_TIMEOUT:
|
||||
return "WorkflowTaskTimeout"
|
||||
case TASK_TYPE_ACTIVITY_TIMEOUT:
|
||||
return "ActivityTimeout"
|
||||
case TASK_TYPE_USER_TIMER:
|
||||
return "UserTimer"
|
||||
|
||||
// gap between index can be used for future priority levels if needed
|
||||
case TASK_TYPE_WORKFLOW_RUN_TIMEOUT:
|
||||
return "WorkflowRunTimeout"
|
||||
case TASK_TYPE_DELETE_HISTORY_EVENT:
|
||||
return "DeleteHistoryEvent"
|
||||
|
||||
// Enum value maps for TaskPriority.
|
||||
case TASK_TYPE_ACTIVITY_RETRY_TIMER:
|
||||
return "ActivityRetryTimer"
|
||||
case TASK_TYPE_WORKFLOW_BACKOFF_TIMER:
|
||||
return "WorkflowBackoffTimer"
|
||||
case TASK_TYPE_VISIBILITY_START_EXECUTION:
|
||||
return "VisibilityStartExecution"
|
||||
case TASK_TYPE_VISIBILITY_UPSERT_EXECUTION:
|
||||
return "VisibilityUpsertExecution"
|
||||
case TASK_TYPE_VISIBILITY_CLOSE_EXECUTION:
|
||||
return "VisibilityCloseExecution"
|
||||
case TASK_TYPE_VISIBILITY_DELETE_EXECUTION:
|
||||
return "VisibilityDeleteExecution"
|
||||
case TASK_TYPE_TRANSFER_DELETE_EXECUTION:
|
||||
return "TransferDeleteExecution"
|
||||
case TASK_TYPE_REPLICATION_SYNC_WORKFLOW_STATE:
|
||||
return "ReplicationSyncWorkflowState"
|
||||
case TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION:
|
||||
return "ArchivalArchiveExecution"
|
||||
case TASK_TYPE_STATE_MACHINE_OUTBOUND:
|
||||
return "StateMachineOutbound"
|
||||
case TASK_TYPE_STATE_MACHINE_TIMER:
|
||||
return "StateMachineTimer"
|
||||
case TASK_TYPE_WORKFLOW_EXECUTION_TIMEOUT:
|
||||
return "WorkflowExecutionTimeout"
|
||||
case TASK_TYPE_REPLICATION_SYNC_HSM:
|
||||
return "ReplicationSyncHsm"
|
||||
|
||||
// Deprecated: Use TaskPriority.Descriptor instead.
|
||||
case TASK_TYPE_REPLICATION_SYNC_VERSIONED_TRANSITION:
|
||||
return "ReplicationSyncVersionedTransition"
|
||||
case TASK_TYPE_CHASM_PURE:
|
||||
return "ChasmPure"
|
||||
case TASK_TYPE_CHASM:
|
||||
return "Chasm"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (TaskType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_task_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (TaskType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_task_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x TaskType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
func (TaskType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_task_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type TaskPriority int32
|
||||
|
||||
const (
|
||||
TASK_PRIORITY_UNSPECIFIED TaskPriority = 0
|
||||
TASK_PRIORITY_HIGH TaskPriority = 1
|
||||
|
||||
TASK_PRIORITY_LOW TaskPriority = 10
|
||||
)
|
||||
|
||||
var (
|
||||
TaskPriority_name = map[int32]string{
|
||||
0: "TASK_PRIORITY_UNSPECIFIED",
|
||||
1: "TASK_PRIORITY_HIGH",
|
||||
10: "TASK_PRIORITY_LOW",
|
||||
}
|
||||
TaskPriority_value = map[string]int32{
|
||||
"TASK_PRIORITY_UNSPECIFIED": 0,
|
||||
"TASK_PRIORITY_HIGH": 1,
|
||||
"TASK_PRIORITY_LOW": 10,
|
||||
}
|
||||
)
|
||||
|
||||
func (x TaskPriority) Enum() *TaskPriority {
|
||||
p := new(TaskPriority)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x TaskPriority) String() string {
|
||||
switch x {
|
||||
case TASK_PRIORITY_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case TASK_PRIORITY_HIGH:
|
||||
return "High"
|
||||
case TASK_PRIORITY_LOW:
|
||||
return "Low"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (TaskPriority) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_task_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (TaskPriority) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_task_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x TaskPriority) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
func (TaskPriority) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_task_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_task_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'temporal/server/api/enums/v1/task.proto\x12\x1ctemporal.server.api.enums.v1*^\n" +
|
||||
"\n" +
|
||||
"TaskSource\x12\x1b\n" +
|
||||
"\x17TASK_SOURCE_UNSPECIFIED\x10\x00\x12\x17\n" +
|
||||
"\x13TASK_SOURCE_HISTORY\x10\x01\x12\x1a\n" +
|
||||
"\x16TASK_SOURCE_DB_BACKLOG\x10\x02*\xb6\t\n" +
|
||||
"\bTaskType\x12\x19\n" +
|
||||
"\x15TASK_TYPE_UNSPECIFIED\x10\x00\x12!\n" +
|
||||
"\x1dTASK_TYPE_REPLICATION_HISTORY\x10\x01\x12'\n" +
|
||||
"#TASK_TYPE_REPLICATION_SYNC_ACTIVITY\x10\x02\x12$\n" +
|
||||
" TASK_TYPE_TRANSFER_WORKFLOW_TASK\x10\x03\x12$\n" +
|
||||
" TASK_TYPE_TRANSFER_ACTIVITY_TASK\x10\x04\x12&\n" +
|
||||
"\"TASK_TYPE_TRANSFER_CLOSE_EXECUTION\x10\x05\x12'\n" +
|
||||
"#TASK_TYPE_TRANSFER_CANCEL_EXECUTION\x10\x06\x12,\n" +
|
||||
"(TASK_TYPE_TRANSFER_START_CHILD_EXECUTION\x10\a\x12'\n" +
|
||||
"#TASK_TYPE_TRANSFER_SIGNAL_EXECUTION\x10\b\x12%\n" +
|
||||
"!TASK_TYPE_TRANSFER_RESET_WORKFLOW\x10\n" +
|
||||
"\x12#\n" +
|
||||
"\x1fTASK_TYPE_WORKFLOW_TASK_TIMEOUT\x10\f\x12\x1e\n" +
|
||||
"\x1aTASK_TYPE_ACTIVITY_TIMEOUT\x10\r\x12\x18\n" +
|
||||
"\x14TASK_TYPE_USER_TIMER\x10\x0e\x12\"\n" +
|
||||
"\x1eTASK_TYPE_WORKFLOW_RUN_TIMEOUT\x10\x0f\x12\"\n" +
|
||||
"\x1eTASK_TYPE_DELETE_HISTORY_EVENT\x10\x10\x12\"\n" +
|
||||
"\x1eTASK_TYPE_ACTIVITY_RETRY_TIMER\x10\x11\x12$\n" +
|
||||
" TASK_TYPE_WORKFLOW_BACKOFF_TIMER\x10\x12\x12(\n" +
|
||||
"$TASK_TYPE_VISIBILITY_START_EXECUTION\x10\x13\x12)\n" +
|
||||
"%TASK_TYPE_VISIBILITY_UPSERT_EXECUTION\x10\x14\x12(\n" +
|
||||
"$TASK_TYPE_VISIBILITY_CLOSE_EXECUTION\x10\x15\x12)\n" +
|
||||
"%TASK_TYPE_VISIBILITY_DELETE_EXECUTION\x10\x16\x12'\n" +
|
||||
"#TASK_TYPE_TRANSFER_DELETE_EXECUTION\x10\x18\x12-\n" +
|
||||
")TASK_TYPE_REPLICATION_SYNC_WORKFLOW_STATE\x10\x19\x12(\n" +
|
||||
"$TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION\x10\x1a\x12$\n" +
|
||||
" TASK_TYPE_STATE_MACHINE_OUTBOUND\x10\x1b\x12!\n" +
|
||||
"\x1dTASK_TYPE_STATE_MACHINE_TIMER\x10\x1c\x12(\n" +
|
||||
"$TASK_TYPE_WORKFLOW_EXECUTION_TIMEOUT\x10\x1d\x12\"\n" +
|
||||
"\x1eTASK_TYPE_REPLICATION_SYNC_HSM\x10\x1e\x123\n" +
|
||||
"/TASK_TYPE_REPLICATION_SYNC_VERSIONED_TRANSITION\x10\x1f\x12\x18\n" +
|
||||
"\x14TASK_TYPE_CHASM_PURE\x10 \x12\x13\n" +
|
||||
"\x0fTASK_TYPE_CHASM\x10!\"\x04\b\t\x10\t\"\x04\b\v\x10\v\"\x04\b\x17\x10\x17*\\\n" +
|
||||
"\fTaskPriority\x12\x1d\n" +
|
||||
"\x19TASK_PRIORITY_UNSPECIFIED\x10\x00\x12\x16\n" +
|
||||
"\x12TASK_PRIORITY_HIGH\x10\x01\x12\x15\n" +
|
||||
"\x11TASK_PRIORITY_LOW\x10\n" +
|
||||
"B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_task_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_task_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_task_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_task_proto_rawDesc), len(file_temporal_server_api_enums_v1_task_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_task_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_task_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_temporal_server_api_enums_v1_task_proto_goTypes = []any{
|
||||
(TaskSource)(0), // 0: temporal.server.api.enums.v1.TaskSource
|
||||
(TaskType)(0), // 1: temporal.server.api.enums.v1.TaskType
|
||||
(TaskPriority)(0), // 2: temporal.server.api.enums.v1.TaskPriority
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_task_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_server_api_enums_v1_task_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_task_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_task_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_task_proto_rawDesc), len(file_temporal_server_api_enums_v1_task_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_task_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_task_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_task_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_task_proto = out.File
|
||||
file_temporal_server_api_enums_v1_task_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_task_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
WorkflowExecutionState_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Created": 1,
|
||||
"Running": 2,
|
||||
"Completed": 3,
|
||||
"Zombie": 4,
|
||||
"Void": 5,
|
||||
"Corrupted": 6,
|
||||
}
|
||||
)
|
||||
|
||||
// WorkflowExecutionStateFromString parses a WorkflowExecutionState value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to WorkflowExecutionState
|
||||
func WorkflowExecutionStateFromString(s string) (WorkflowExecutionState, error) {
|
||||
if v, ok := WorkflowExecutionState_value[s]; ok {
|
||||
return WorkflowExecutionState(v), nil
|
||||
} else if v, ok := WorkflowExecutionState_shorthandValue[s]; ok {
|
||||
return WorkflowExecutionState(v), nil
|
||||
}
|
||||
return WorkflowExecutionState(0), fmt.Errorf("%s is not a valid WorkflowExecutionState", s)
|
||||
}
|
||||
|
||||
var (
|
||||
WorkflowBackoffType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Retry": 1,
|
||||
"Cron": 2,
|
||||
"DelayStart": 3,
|
||||
}
|
||||
)
|
||||
|
||||
// WorkflowBackoffTypeFromString parses a WorkflowBackoffType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to WorkflowBackoffType
|
||||
func WorkflowBackoffTypeFromString(s string) (WorkflowBackoffType, error) {
|
||||
if v, ok := WorkflowBackoffType_value[s]; ok {
|
||||
return WorkflowBackoffType(v), nil
|
||||
} else if v, ok := WorkflowBackoffType_shorthandValue[s]; ok {
|
||||
return WorkflowBackoffType(v), nil
|
||||
}
|
||||
return WorkflowBackoffType(0), fmt.Errorf("%s is not a valid WorkflowBackoffType", s)
|
||||
}
|
||||
|
||||
var (
|
||||
PausedWorkflowEntityType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Activity": 1,
|
||||
"Workflow": 2,
|
||||
}
|
||||
)
|
||||
|
||||
// PausedWorkflowEntityTypeFromString parses a PausedWorkflowEntityType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to PausedWorkflowEntityType
|
||||
func PausedWorkflowEntityTypeFromString(s string) (PausedWorkflowEntityType, error) {
|
||||
if v, ok := PausedWorkflowEntityType_value[s]; ok {
|
||||
return PausedWorkflowEntityType(v), nil
|
||||
} else if v, ok := PausedWorkflowEntityType_shorthandValue[s]; ok {
|
||||
return PausedWorkflowEntityType(v), nil
|
||||
}
|
||||
return PausedWorkflowEntityType(0), fmt.Errorf("%s is not a valid PausedWorkflowEntityType", s)
|
||||
}
|
||||
@@ -1,299 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/workflow.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 WorkflowExecutionState int32
|
||||
|
||||
const (
|
||||
WORKFLOW_EXECUTION_STATE_UNSPECIFIED WorkflowExecutionState = 0
|
||||
WORKFLOW_EXECUTION_STATE_CREATED WorkflowExecutionState = 1
|
||||
WORKFLOW_EXECUTION_STATE_RUNNING WorkflowExecutionState = 2
|
||||
WORKFLOW_EXECUTION_STATE_COMPLETED WorkflowExecutionState = 3
|
||||
WORKFLOW_EXECUTION_STATE_ZOMBIE WorkflowExecutionState = 4
|
||||
WORKFLOW_EXECUTION_STATE_VOID WorkflowExecutionState = 5
|
||||
WORKFLOW_EXECUTION_STATE_CORRUPTED WorkflowExecutionState = 6
|
||||
)
|
||||
|
||||
// Enum value maps for WorkflowExecutionState.
|
||||
var (
|
||||
WorkflowExecutionState_name = map[int32]string{
|
||||
0: "WORKFLOW_EXECUTION_STATE_UNSPECIFIED",
|
||||
1: "WORKFLOW_EXECUTION_STATE_CREATED",
|
||||
2: "WORKFLOW_EXECUTION_STATE_RUNNING",
|
||||
3: "WORKFLOW_EXECUTION_STATE_COMPLETED",
|
||||
4: "WORKFLOW_EXECUTION_STATE_ZOMBIE",
|
||||
5: "WORKFLOW_EXECUTION_STATE_VOID",
|
||||
6: "WORKFLOW_EXECUTION_STATE_CORRUPTED",
|
||||
}
|
||||
WorkflowExecutionState_value = map[string]int32{
|
||||
"WORKFLOW_EXECUTION_STATE_UNSPECIFIED": 0,
|
||||
"WORKFLOW_EXECUTION_STATE_CREATED": 1,
|
||||
"WORKFLOW_EXECUTION_STATE_RUNNING": 2,
|
||||
"WORKFLOW_EXECUTION_STATE_COMPLETED": 3,
|
||||
"WORKFLOW_EXECUTION_STATE_ZOMBIE": 4,
|
||||
"WORKFLOW_EXECUTION_STATE_VOID": 5,
|
||||
"WORKFLOW_EXECUTION_STATE_CORRUPTED": 6,
|
||||
}
|
||||
)
|
||||
|
||||
func (x WorkflowExecutionState) Enum() *WorkflowExecutionState {
|
||||
p := new(WorkflowExecutionState)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x WorkflowExecutionState) String() string {
|
||||
switch x {
|
||||
case WORKFLOW_EXECUTION_STATE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case WORKFLOW_EXECUTION_STATE_CREATED:
|
||||
return "Created"
|
||||
case WORKFLOW_EXECUTION_STATE_RUNNING:
|
||||
return "Running"
|
||||
case WORKFLOW_EXECUTION_STATE_COMPLETED:
|
||||
return "Completed"
|
||||
case WORKFLOW_EXECUTION_STATE_ZOMBIE:
|
||||
return "Zombie"
|
||||
case WORKFLOW_EXECUTION_STATE_VOID:
|
||||
return "Void"
|
||||
case WORKFLOW_EXECUTION_STATE_CORRUPTED:
|
||||
return "Corrupted"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (WorkflowExecutionState) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (WorkflowExecutionState) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_workflow_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x WorkflowExecutionState) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use WorkflowExecutionState.Descriptor instead.
|
||||
func (WorkflowExecutionState) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type WorkflowBackoffType int32
|
||||
|
||||
const (
|
||||
WORKFLOW_BACKOFF_TYPE_UNSPECIFIED WorkflowBackoffType = 0
|
||||
WORKFLOW_BACKOFF_TYPE_RETRY WorkflowBackoffType = 1
|
||||
WORKFLOW_BACKOFF_TYPE_CRON WorkflowBackoffType = 2
|
||||
WORKFLOW_BACKOFF_TYPE_DELAY_START WorkflowBackoffType = 3
|
||||
)
|
||||
|
||||
// Enum value maps for WorkflowBackoffType.
|
||||
var (
|
||||
WorkflowBackoffType_name = map[int32]string{
|
||||
0: "WORKFLOW_BACKOFF_TYPE_UNSPECIFIED",
|
||||
1: "WORKFLOW_BACKOFF_TYPE_RETRY",
|
||||
2: "WORKFLOW_BACKOFF_TYPE_CRON",
|
||||
3: "WORKFLOW_BACKOFF_TYPE_DELAY_START",
|
||||
}
|
||||
WorkflowBackoffType_value = map[string]int32{
|
||||
"WORKFLOW_BACKOFF_TYPE_UNSPECIFIED": 0,
|
||||
"WORKFLOW_BACKOFF_TYPE_RETRY": 1,
|
||||
"WORKFLOW_BACKOFF_TYPE_CRON": 2,
|
||||
"WORKFLOW_BACKOFF_TYPE_DELAY_START": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x WorkflowBackoffType) Enum() *WorkflowBackoffType {
|
||||
p := new(WorkflowBackoffType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x WorkflowBackoffType) String() string {
|
||||
switch x {
|
||||
case WORKFLOW_BACKOFF_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case WORKFLOW_BACKOFF_TYPE_RETRY:
|
||||
return "Retry"
|
||||
case WORKFLOW_BACKOFF_TYPE_CRON:
|
||||
return "Cron"
|
||||
case WORKFLOW_BACKOFF_TYPE_DELAY_START:
|
||||
return "DelayStart"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (WorkflowBackoffType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (WorkflowBackoffType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_workflow_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x WorkflowBackoffType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use WorkflowBackoffType.Descriptor instead.
|
||||
func (WorkflowBackoffType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type PausedWorkflowEntityType int32
|
||||
|
||||
const (
|
||||
PAUSED_WORKFLOW_ENTITY_TYPE_UNSPECIFIED PausedWorkflowEntityType = 0
|
||||
PAUSED_WORKFLOW_ENTITY_TYPE_ACTIVITY PausedWorkflowEntityType = 1
|
||||
PAUSED_WORKFLOW_ENTITY_TYPE_WORKFLOW PausedWorkflowEntityType = 2
|
||||
)
|
||||
|
||||
// Enum value maps for PausedWorkflowEntityType.
|
||||
var (
|
||||
PausedWorkflowEntityType_name = map[int32]string{
|
||||
0: "PAUSED_WORKFLOW_ENTITY_TYPE_UNSPECIFIED",
|
||||
1: "PAUSED_WORKFLOW_ENTITY_TYPE_ACTIVITY",
|
||||
2: "PAUSED_WORKFLOW_ENTITY_TYPE_WORKFLOW",
|
||||
}
|
||||
PausedWorkflowEntityType_value = map[string]int32{
|
||||
"PAUSED_WORKFLOW_ENTITY_TYPE_UNSPECIFIED": 0,
|
||||
"PAUSED_WORKFLOW_ENTITY_TYPE_ACTIVITY": 1,
|
||||
"PAUSED_WORKFLOW_ENTITY_TYPE_WORKFLOW": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x PausedWorkflowEntityType) Enum() *PausedWorkflowEntityType {
|
||||
p := new(PausedWorkflowEntityType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x PausedWorkflowEntityType) String() string {
|
||||
switch x {
|
||||
case PAUSED_WORKFLOW_ENTITY_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case PAUSED_WORKFLOW_ENTITY_TYPE_ACTIVITY:
|
||||
return "Activity"
|
||||
case PAUSED_WORKFLOW_ENTITY_TYPE_WORKFLOW:
|
||||
return "Workflow"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (PausedWorkflowEntityType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (PausedWorkflowEntityType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_workflow_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x PausedWorkflowEntityType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use PausedWorkflowEntityType.Descriptor instead.
|
||||
func (PausedWorkflowEntityType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_workflow_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_workflow_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"+temporal/server/api/enums/v1/workflow.proto\x12\x1ctemporal.server.api.enums.v1*\xa6\x02\n" +
|
||||
"\x16WorkflowExecutionState\x12(\n" +
|
||||
"$WORKFLOW_EXECUTION_STATE_UNSPECIFIED\x10\x00\x12$\n" +
|
||||
" WORKFLOW_EXECUTION_STATE_CREATED\x10\x01\x12$\n" +
|
||||
" WORKFLOW_EXECUTION_STATE_RUNNING\x10\x02\x12&\n" +
|
||||
"\"WORKFLOW_EXECUTION_STATE_COMPLETED\x10\x03\x12#\n" +
|
||||
"\x1fWORKFLOW_EXECUTION_STATE_ZOMBIE\x10\x04\x12!\n" +
|
||||
"\x1dWORKFLOW_EXECUTION_STATE_VOID\x10\x05\x12&\n" +
|
||||
"\"WORKFLOW_EXECUTION_STATE_CORRUPTED\x10\x06*\xa4\x01\n" +
|
||||
"\x13WorkflowBackoffType\x12%\n" +
|
||||
"!WORKFLOW_BACKOFF_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n" +
|
||||
"\x1bWORKFLOW_BACKOFF_TYPE_RETRY\x10\x01\x12\x1e\n" +
|
||||
"\x1aWORKFLOW_BACKOFF_TYPE_CRON\x10\x02\x12%\n" +
|
||||
"!WORKFLOW_BACKOFF_TYPE_DELAY_START\x10\x03*\x9b\x01\n" +
|
||||
"\x18PausedWorkflowEntityType\x12+\n" +
|
||||
"'PAUSED_WORKFLOW_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12(\n" +
|
||||
"$PAUSED_WORKFLOW_ENTITY_TYPE_ACTIVITY\x10\x01\x12(\n" +
|
||||
"$PAUSED_WORKFLOW_ENTITY_TYPE_WORKFLOW\x10\x02B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_workflow_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_workflow_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_workflow_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_workflow_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_workflow_proto_rawDesc), len(file_temporal_server_api_enums_v1_workflow_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_workflow_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_workflow_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_temporal_server_api_enums_v1_workflow_proto_goTypes = []any{
|
||||
(WorkflowExecutionState)(0), // 0: temporal.server.api.enums.v1.WorkflowExecutionState
|
||||
(WorkflowBackoffType)(0), // 1: temporal.server.api.enums.v1.WorkflowBackoffType
|
||||
(PausedWorkflowEntityType)(0), // 2: temporal.server.api.enums.v1.PausedWorkflowEntityType
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_workflow_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_server_api_enums_v1_workflow_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_workflow_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_workflow_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_workflow_proto_rawDesc), len(file_temporal_server_api_enums_v1_workflow_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_workflow_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_workflow_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_workflow_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_workflow_proto = out.File
|
||||
file_temporal_server_api_enums_v1_workflow_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_workflow_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package enums
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
WorkflowTaskType_shorthandValue = map[string]int32{
|
||||
"Unspecified": 0,
|
||||
"Normal": 1,
|
||||
"Transient": 2,
|
||||
"Speculative": 3,
|
||||
}
|
||||
)
|
||||
|
||||
// WorkflowTaskTypeFromString parses a WorkflowTaskType value from either the protojson
|
||||
// canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to WorkflowTaskType
|
||||
func WorkflowTaskTypeFromString(s string) (WorkflowTaskType, error) {
|
||||
if v, ok := WorkflowTaskType_value[s]; ok {
|
||||
return WorkflowTaskType(v), nil
|
||||
} else if v, ok := WorkflowTaskType_shorthandValue[s]; ok {
|
||||
return WorkflowTaskType(v), nil
|
||||
}
|
||||
return WorkflowTaskType(0), fmt.Errorf("%s is not a valid WorkflowTaskType", s)
|
||||
}
|
||||
@@ -1,148 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/enums/v1/workflow_task_type.proto
|
||||
|
||||
package enums
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 WorkflowTaskType int32
|
||||
|
||||
const (
|
||||
WORKFLOW_TASK_TYPE_UNSPECIFIED WorkflowTaskType = 0
|
||||
WORKFLOW_TASK_TYPE_NORMAL WorkflowTaskType = 1
|
||||
// TODO (alex): TRANSIENT is not current used. Needs to be set when Attempt>1.
|
||||
WORKFLOW_TASK_TYPE_TRANSIENT WorkflowTaskType = 2
|
||||
WORKFLOW_TASK_TYPE_SPECULATIVE WorkflowTaskType = 3
|
||||
)
|
||||
|
||||
// Enum value maps for WorkflowTaskType.
|
||||
var (
|
||||
WorkflowTaskType_name = map[int32]string{
|
||||
0: "WORKFLOW_TASK_TYPE_UNSPECIFIED",
|
||||
1: "WORKFLOW_TASK_TYPE_NORMAL",
|
||||
2: "WORKFLOW_TASK_TYPE_TRANSIENT",
|
||||
3: "WORKFLOW_TASK_TYPE_SPECULATIVE",
|
||||
}
|
||||
WorkflowTaskType_value = map[string]int32{
|
||||
"WORKFLOW_TASK_TYPE_UNSPECIFIED": 0,
|
||||
"WORKFLOW_TASK_TYPE_NORMAL": 1,
|
||||
"WORKFLOW_TASK_TYPE_TRANSIENT": 2,
|
||||
"WORKFLOW_TASK_TYPE_SPECULATIVE": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x WorkflowTaskType) Enum() *WorkflowTaskType {
|
||||
p := new(WorkflowTaskType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x WorkflowTaskType) String() string {
|
||||
switch x {
|
||||
case WORKFLOW_TASK_TYPE_UNSPECIFIED:
|
||||
return "Unspecified"
|
||||
case WORKFLOW_TASK_TYPE_NORMAL:
|
||||
return "Normal"
|
||||
case WORKFLOW_TASK_TYPE_TRANSIENT:
|
||||
return "Transient"
|
||||
case WORKFLOW_TASK_TYPE_SPECULATIVE:
|
||||
return "Speculative"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (WorkflowTaskType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_enums_v1_workflow_task_type_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (WorkflowTaskType) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_enums_v1_workflow_task_type_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x WorkflowTaskType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use WorkflowTaskType.Descriptor instead.
|
||||
func (WorkflowTaskType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_enums_v1_workflow_task_type_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"5temporal/server/api/enums/v1/workflow_task_type.proto\x12\x1ctemporal.server.api.enums.v1*\x9b\x01\n" +
|
||||
"\x10WorkflowTaskType\x12\"\n" +
|
||||
"\x1eWORKFLOW_TASK_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
|
||||
"\x19WORKFLOW_TASK_TYPE_NORMAL\x10\x01\x12 \n" +
|
||||
"\x1cWORKFLOW_TASK_TYPE_TRANSIENT\x10\x02\x12\"\n" +
|
||||
"\x1eWORKFLOW_TASK_TYPE_SPECULATIVE\x10\x03B*Z(go.temporal.io/server/api/enums/v1;enumsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDesc), len(file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_enums_v1_workflow_task_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_enums_v1_workflow_task_type_proto_goTypes = []any{
|
||||
(WorkflowTaskType)(0), // 0: temporal.server.api.enums.v1.WorkflowTaskType
|
||||
}
|
||||
var file_temporal_server_api_enums_v1_workflow_task_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_server_api_enums_v1_workflow_task_type_proto_init() }
|
||||
func file_temporal_server_api_enums_v1_workflow_task_type_proto_init() {
|
||||
if File_temporal_server_api_enums_v1_workflow_task_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_server_api_enums_v1_workflow_task_type_proto_rawDesc), len(file_temporal_server_api_enums_v1_workflow_task_type_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_enums_v1_workflow_task_type_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_enums_v1_workflow_task_type_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_enums_v1_workflow_task_type_proto_enumTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_enums_v1_workflow_task_type_proto = out.File
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_goTypes = nil
|
||||
file_temporal_server_api_enums_v1_workflow_task_type_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,339 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package errordetails
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type TaskAlreadyStartedFailure to the protobuf v3 wire format
|
||||
func (val *TaskAlreadyStartedFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskAlreadyStartedFailure from the protobuf v3 wire format
|
||||
func (val *TaskAlreadyStartedFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskAlreadyStartedFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskAlreadyStartedFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskAlreadyStartedFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskAlreadyStartedFailure
|
||||
switch t := that.(type) {
|
||||
case *TaskAlreadyStartedFailure:
|
||||
that1 = t
|
||||
case TaskAlreadyStartedFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type CurrentBranchChangedFailure to the protobuf v3 wire format
|
||||
func (val *CurrentBranchChangedFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type CurrentBranchChangedFailure from the protobuf v3 wire format
|
||||
func (val *CurrentBranchChangedFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *CurrentBranchChangedFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two CurrentBranchChangedFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *CurrentBranchChangedFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *CurrentBranchChangedFailure
|
||||
switch t := that.(type) {
|
||||
case *CurrentBranchChangedFailure:
|
||||
that1 = t
|
||||
case CurrentBranchChangedFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ShardOwnershipLostFailure to the protobuf v3 wire format
|
||||
func (val *ShardOwnershipLostFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ShardOwnershipLostFailure from the protobuf v3 wire format
|
||||
func (val *ShardOwnershipLostFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ShardOwnershipLostFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ShardOwnershipLostFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ShardOwnershipLostFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ShardOwnershipLostFailure
|
||||
switch t := that.(type) {
|
||||
case *ShardOwnershipLostFailure:
|
||||
that1 = t
|
||||
case ShardOwnershipLostFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type RetryReplicationFailure to the protobuf v3 wire format
|
||||
func (val *RetryReplicationFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type RetryReplicationFailure from the protobuf v3 wire format
|
||||
func (val *RetryReplicationFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *RetryReplicationFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two RetryReplicationFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *RetryReplicationFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *RetryReplicationFailure
|
||||
switch t := that.(type) {
|
||||
case *RetryReplicationFailure:
|
||||
that1 = t
|
||||
case RetryReplicationFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncStateFailure to the protobuf v3 wire format
|
||||
func (val *SyncStateFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncStateFailure from the protobuf v3 wire format
|
||||
func (val *SyncStateFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncStateFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncStateFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncStateFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncStateFailure
|
||||
switch t := that.(type) {
|
||||
case *SyncStateFailure:
|
||||
that1 = t
|
||||
case SyncStateFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StickyWorkerUnavailableFailure to the protobuf v3 wire format
|
||||
func (val *StickyWorkerUnavailableFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StickyWorkerUnavailableFailure from the protobuf v3 wire format
|
||||
func (val *StickyWorkerUnavailableFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StickyWorkerUnavailableFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StickyWorkerUnavailableFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StickyWorkerUnavailableFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StickyWorkerUnavailableFailure
|
||||
switch t := that.(type) {
|
||||
case *StickyWorkerUnavailableFailure:
|
||||
that1 = t
|
||||
case StickyWorkerUnavailableFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ObsoleteDispatchBuildIdFailure to the protobuf v3 wire format
|
||||
func (val *ObsoleteDispatchBuildIdFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ObsoleteDispatchBuildIdFailure from the protobuf v3 wire format
|
||||
func (val *ObsoleteDispatchBuildIdFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ObsoleteDispatchBuildIdFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ObsoleteDispatchBuildIdFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ObsoleteDispatchBuildIdFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ObsoleteDispatchBuildIdFailure
|
||||
switch t := that.(type) {
|
||||
case *ObsoleteDispatchBuildIdFailure:
|
||||
that1 = t
|
||||
case ObsoleteDispatchBuildIdFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ObsoleteMatchingTaskFailure to the protobuf v3 wire format
|
||||
func (val *ObsoleteMatchingTaskFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ObsoleteMatchingTaskFailure from the protobuf v3 wire format
|
||||
func (val *ObsoleteMatchingTaskFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ObsoleteMatchingTaskFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ObsoleteMatchingTaskFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ObsoleteMatchingTaskFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ObsoleteMatchingTaskFailure
|
||||
switch t := that.(type) {
|
||||
case *ObsoleteMatchingTaskFailure:
|
||||
that1 = t
|
||||
case ObsoleteMatchingTaskFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ActivityStartDuringTransitionFailure to the protobuf v3 wire format
|
||||
func (val *ActivityStartDuringTransitionFailure) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ActivityStartDuringTransitionFailure from the protobuf v3 wire format
|
||||
func (val *ActivityStartDuringTransitionFailure) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ActivityStartDuringTransitionFailure) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ActivityStartDuringTransitionFailure values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ActivityStartDuringTransitionFailure) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ActivityStartDuringTransitionFailure
|
||||
switch t := that.(type) {
|
||||
case *ActivityStartDuringTransitionFailure:
|
||||
that1 = t
|
||||
case ActivityStartDuringTransitionFailure:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,608 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/errordetails/v1/message.proto
|
||||
|
||||
// These error details extend failures defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto
|
||||
|
||||
package errordetails
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v11 "github.com/hanzoai/tasks/api/history/v1"
|
||||
v1 "github.com/hanzoai/tasks/api/persistence/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 TaskAlreadyStartedFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskAlreadyStartedFailure) Reset() {
|
||||
*x = TaskAlreadyStartedFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskAlreadyStartedFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskAlreadyStartedFailure) ProtoMessage() {}
|
||||
|
||||
func (x *TaskAlreadyStartedFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 TaskAlreadyStartedFailure.ProtoReflect.Descriptor instead.
|
||||
func (*TaskAlreadyStartedFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type CurrentBranchChangedFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CurrentBranchToken []byte `protobuf:"bytes,1,opt,name=current_branch_token,json=currentBranchToken,proto3" json:"current_branch_token,omitempty"`
|
||||
RequestBranchToken []byte `protobuf:"bytes,2,opt,name=request_branch_token,json=requestBranchToken,proto3" json:"request_branch_token,omitempty"`
|
||||
CurrentVersionedTransition *v1.VersionedTransition `protobuf:"bytes,3,opt,name=current_versioned_transition,json=currentVersionedTransition,proto3" json:"current_versioned_transition,omitempty"`
|
||||
RequestVersionedTransition *v1.VersionedTransition `protobuf:"bytes,4,opt,name=request_versioned_transition,json=requestVersionedTransition,proto3" json:"request_versioned_transition,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) Reset() {
|
||||
*x = CurrentBranchChangedFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CurrentBranchChangedFailure) ProtoMessage() {}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 CurrentBranchChangedFailure.ProtoReflect.Descriptor instead.
|
||||
func (*CurrentBranchChangedFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) GetCurrentBranchToken() []byte {
|
||||
if x != nil {
|
||||
return x.CurrentBranchToken
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) GetRequestBranchToken() []byte {
|
||||
if x != nil {
|
||||
return x.RequestBranchToken
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) GetCurrentVersionedTransition() *v1.VersionedTransition {
|
||||
if x != nil {
|
||||
return x.CurrentVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CurrentBranchChangedFailure) GetRequestVersionedTransition() *v1.VersionedTransition {
|
||||
if x != nil {
|
||||
return x.RequestVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ShardOwnershipLostFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OwnerHost string `protobuf:"bytes,1,opt,name=owner_host,json=ownerHost,proto3" json:"owner_host,omitempty"`
|
||||
CurrentHost string `protobuf:"bytes,2,opt,name=current_host,json=currentHost,proto3" json:"current_host,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ShardOwnershipLostFailure) Reset() {
|
||||
*x = ShardOwnershipLostFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ShardOwnershipLostFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ShardOwnershipLostFailure) ProtoMessage() {}
|
||||
|
||||
func (x *ShardOwnershipLostFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 ShardOwnershipLostFailure.ProtoReflect.Descriptor instead.
|
||||
func (*ShardOwnershipLostFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ShardOwnershipLostFailure) GetOwnerHost() string {
|
||||
if x != nil {
|
||||
return x.OwnerHost
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ShardOwnershipLostFailure) GetCurrentHost() string {
|
||||
if x != nil {
|
||||
return x.CurrentHost
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RetryReplicationFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
StartEventId int64 `protobuf:"varint,4,opt,name=start_event_id,json=startEventId,proto3" json:"start_event_id,omitempty"`
|
||||
StartEventVersion int64 `protobuf:"varint,5,opt,name=start_event_version,json=startEventVersion,proto3" json:"start_event_version,omitempty"`
|
||||
EndEventId int64 `protobuf:"varint,6,opt,name=end_event_id,json=endEventId,proto3" json:"end_event_id,omitempty"`
|
||||
EndEventVersion int64 `protobuf:"varint,7,opt,name=end_event_version,json=endEventVersion,proto3" json:"end_event_version,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) Reset() {
|
||||
*x = RetryReplicationFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RetryReplicationFailure) ProtoMessage() {}
|
||||
|
||||
func (x *RetryReplicationFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 RetryReplicationFailure.ProtoReflect.Descriptor instead.
|
||||
func (*RetryReplicationFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetWorkflowId() string {
|
||||
if x != nil {
|
||||
return x.WorkflowId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetStartEventId() int64 {
|
||||
if x != nil {
|
||||
return x.StartEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetStartEventVersion() int64 {
|
||||
if x != nil {
|
||||
return x.StartEventVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetEndEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EndEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *RetryReplicationFailure) GetEndEventVersion() int64 {
|
||||
if x != nil {
|
||||
return x.EndEventVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type SyncStateFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
VersionedTransition *v1.VersionedTransition `protobuf:"bytes,4,opt,name=versioned_transition,json=versionedTransition,proto3" json:"versioned_transition,omitempty"`
|
||||
VersionHistories *v11.VersionHistories `protobuf:"bytes,5,opt,name=version_histories,json=versionHistories,proto3" json:"version_histories,omitempty"`
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
ArchetypeId uint32 `protobuf:"varint,6,opt,name=archetype_id,json=archetypeId,proto3" json:"archetype_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) Reset() {
|
||||
*x = SyncStateFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncStateFailure) ProtoMessage() {}
|
||||
|
||||
func (x *SyncStateFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 SyncStateFailure.ProtoReflect.Descriptor instead.
|
||||
func (*SyncStateFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetWorkflowId() string {
|
||||
if x != nil {
|
||||
return x.WorkflowId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetVersionedTransition() *v1.VersionedTransition {
|
||||
if x != nil {
|
||||
return x.VersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetVersionHistories() *v11.VersionHistories {
|
||||
if x != nil {
|
||||
return x.VersionHistories
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncStateFailure) GetArchetypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.ArchetypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type StickyWorkerUnavailableFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StickyWorkerUnavailableFailure) Reset() {
|
||||
*x = StickyWorkerUnavailableFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StickyWorkerUnavailableFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StickyWorkerUnavailableFailure) ProtoMessage() {}
|
||||
|
||||
func (x *StickyWorkerUnavailableFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 StickyWorkerUnavailableFailure.ProtoReflect.Descriptor instead.
|
||||
func (*StickyWorkerUnavailableFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// Deprecated. Only used in WV2. [cleanup-old-wv]
|
||||
type ObsoleteDispatchBuildIdFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ObsoleteDispatchBuildIdFailure) Reset() {
|
||||
*x = ObsoleteDispatchBuildIdFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ObsoleteDispatchBuildIdFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ObsoleteDispatchBuildIdFailure) ProtoMessage() {}
|
||||
|
||||
func (x *ObsoleteDispatchBuildIdFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 ObsoleteDispatchBuildIdFailure.ProtoReflect.Descriptor instead.
|
||||
func (*ObsoleteDispatchBuildIdFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
// Returned when History determines a task that Matching wants to dispatch is no longer valid.
|
||||
type ObsoleteMatchingTaskFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ObsoleteMatchingTaskFailure) Reset() {
|
||||
*x = ObsoleteMatchingTaskFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ObsoleteMatchingTaskFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ObsoleteMatchingTaskFailure) ProtoMessage() {}
|
||||
|
||||
func (x *ObsoleteMatchingTaskFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 ObsoleteMatchingTaskFailure.ProtoReflect.Descriptor instead.
|
||||
func (*ObsoleteMatchingTaskFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
// Returned when an activity start is rejected by History because the workflow is in a transitioning
|
||||
// between worker deployments.
|
||||
type ActivityStartDuringTransitionFailure struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ActivityStartDuringTransitionFailure) Reset() {
|
||||
*x = ActivityStartDuringTransitionFailure{}
|
||||
mi := &file_temporal_server_api_errordetails_v1_message_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ActivityStartDuringTransitionFailure) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ActivityStartDuringTransitionFailure) ProtoMessage() {}
|
||||
|
||||
func (x *ActivityStartDuringTransitionFailure) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_errordetails_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 ActivityStartDuringTransitionFailure.ProtoReflect.Descriptor instead.
|
||||
func (*ActivityStartDuringTransitionFailure) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
var File_temporal_server_api_errordetails_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_errordetails_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"1temporal/server/api/errordetails/v1/message.proto\x12#temporal.server.api.errordetails.v1\x1a,temporal/server/api/history/v1/message.proto\x1a,temporal/server/api/persistence/v1/hsm.proto\"\x1b\n" +
|
||||
"\x19TaskAlreadyStartedFailure\"\xf7\x02\n" +
|
||||
"\x1bCurrentBranchChangedFailure\x120\n" +
|
||||
"\x14current_branch_token\x18\x01 \x01(\fR\x12currentBranchToken\x120\n" +
|
||||
"\x14request_branch_token\x18\x02 \x01(\fR\x12requestBranchToken\x12y\n" +
|
||||
"\x1ccurrent_versioned_transition\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1acurrentVersionedTransition\x12y\n" +
|
||||
"\x1crequest_versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1arequestVersionedTransition\"]\n" +
|
||||
"\x19ShardOwnershipLostFailure\x12\x1d\n" +
|
||||
"\n" +
|
||||
"owner_host\x18\x01 \x01(\tR\townerHost\x12!\n" +
|
||||
"\fcurrent_host\x18\x02 \x01(\tR\vcurrentHost\"\x98\x02\n" +
|
||||
"\x17RetryReplicationFailure\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x1f\n" +
|
||||
"\vworkflow_id\x18\x02 \x01(\tR\n" +
|
||||
"workflowId\x12\x15\n" +
|
||||
"\x06run_id\x18\x03 \x01(\tR\x05runId\x12$\n" +
|
||||
"\x0estart_event_id\x18\x04 \x01(\x03R\fstartEventId\x12.\n" +
|
||||
"\x13start_event_version\x18\x05 \x01(\x03R\x11startEventVersion\x12 \n" +
|
||||
"\fend_event_id\x18\x06 \x01(\x03R\n" +
|
||||
"endEventId\x12*\n" +
|
||||
"\x11end_event_version\x18\a \x01(\x03R\x0fendEventVersion\"\xdb\x02\n" +
|
||||
"\x10SyncStateFailure\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x1f\n" +
|
||||
"\vworkflow_id\x18\x02 \x01(\tR\n" +
|
||||
"workflowId\x12\x15\n" +
|
||||
"\x06run_id\x18\x03 \x01(\tR\x05runId\x12j\n" +
|
||||
"\x14versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x13versionedTransition\x12]\n" +
|
||||
"\x11version_histories\x18\x05 \x01(\v20.temporal.server.api.history.v1.VersionHistoriesR\x10versionHistories\x12!\n" +
|
||||
"\farchetype_id\x18\x06 \x01(\rR\varchetypeId\" \n" +
|
||||
"\x1eStickyWorkerUnavailableFailure\" \n" +
|
||||
"\x1eObsoleteDispatchBuildIdFailure\"\x1d\n" +
|
||||
"\x1bObsoleteMatchingTaskFailure\"&\n" +
|
||||
"$ActivityStartDuringTransitionFailureB8Z6go.temporal.io/server/api/errordetails/v1;errordetailsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_errordetails_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_errordetails_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_errordetails_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_errordetails_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_errordetails_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_errordetails_v1_message_proto_rawDesc), len(file_temporal_server_api_errordetails_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_errordetails_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_errordetails_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_temporal_server_api_errordetails_v1_message_proto_goTypes = []any{
|
||||
(*TaskAlreadyStartedFailure)(nil), // 0: temporal.server.api.errordetails.v1.TaskAlreadyStartedFailure
|
||||
(*CurrentBranchChangedFailure)(nil), // 1: temporal.server.api.errordetails.v1.CurrentBranchChangedFailure
|
||||
(*ShardOwnershipLostFailure)(nil), // 2: temporal.server.api.errordetails.v1.ShardOwnershipLostFailure
|
||||
(*RetryReplicationFailure)(nil), // 3: temporal.server.api.errordetails.v1.RetryReplicationFailure
|
||||
(*SyncStateFailure)(nil), // 4: temporal.server.api.errordetails.v1.SyncStateFailure
|
||||
(*StickyWorkerUnavailableFailure)(nil), // 5: temporal.server.api.errordetails.v1.StickyWorkerUnavailableFailure
|
||||
(*ObsoleteDispatchBuildIdFailure)(nil), // 6: temporal.server.api.errordetails.v1.ObsoleteDispatchBuildIdFailure
|
||||
(*ObsoleteMatchingTaskFailure)(nil), // 7: temporal.server.api.errordetails.v1.ObsoleteMatchingTaskFailure
|
||||
(*ActivityStartDuringTransitionFailure)(nil), // 8: temporal.server.api.errordetails.v1.ActivityStartDuringTransitionFailure
|
||||
(*v1.VersionedTransition)(nil), // 9: temporal.server.api.persistence.v1.VersionedTransition
|
||||
(*v11.VersionHistories)(nil), // 10: temporal.server.api.history.v1.VersionHistories
|
||||
}
|
||||
var file_temporal_server_api_errordetails_v1_message_proto_depIdxs = []int32{
|
||||
9, // 0: temporal.server.api.errordetails.v1.CurrentBranchChangedFailure.current_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
9, // 1: temporal.server.api.errordetails.v1.CurrentBranchChangedFailure.request_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
9, // 2: temporal.server.api.errordetails.v1.SyncStateFailure.versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
10, // 3: temporal.server.api.errordetails.v1.SyncStateFailure.version_histories:type_name -> temporal.server.api.history.v1.VersionHistories
|
||||
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_server_api_errordetails_v1_message_proto_init() }
|
||||
func file_temporal_server_api_errordetails_v1_message_proto_init() {
|
||||
if File_temporal_server_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_server_api_errordetails_v1_message_proto_rawDesc), len(file_temporal_server_api_errordetails_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 9,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_errordetails_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_errordetails_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_errordetails_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_errordetails_v1_message_proto = out.File
|
||||
file_temporal_server_api_errordetails_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_errordetails_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,117 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package health
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type HealthCheck to the protobuf v3 wire format
|
||||
func (val *HealthCheck) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HealthCheck from the protobuf v3 wire format
|
||||
func (val *HealthCheck) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HealthCheck) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HealthCheck values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HealthCheck) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HealthCheck
|
||||
switch t := that.(type) {
|
||||
case *HealthCheck:
|
||||
that1 = t
|
||||
case HealthCheck:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HostHealthDetail to the protobuf v3 wire format
|
||||
func (val *HostHealthDetail) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HostHealthDetail from the protobuf v3 wire format
|
||||
func (val *HostHealthDetail) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HostHealthDetail) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HostHealthDetail values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HostHealthDetail) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HostHealthDetail
|
||||
switch t := that.(type) {
|
||||
case *HostHealthDetail:
|
||||
that1 = t
|
||||
case HostHealthDetail:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ServiceHealthDetail to the protobuf v3 wire format
|
||||
func (val *ServiceHealthDetail) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ServiceHealthDetail from the protobuf v3 wire format
|
||||
func (val *ServiceHealthDetail) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ServiceHealthDetail) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ServiceHealthDetail values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ServiceHealthDetail) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ServiceHealthDetail
|
||||
switch t := that.(type) {
|
||||
case *ServiceHealthDetail:
|
||||
that1 = t
|
||||
case ServiceHealthDetail:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,324 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/health/v1/message.proto
|
||||
|
||||
package health
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "github.com/hanzoai/tasks/api/enums/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// Individual health check result.
|
||||
// The check_type field uses human-readable strings rather than an enum for extensibility.
|
||||
type HealthCheck struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Machine-readable check type identifier for programmatic matching.
|
||||
// Known values defined as Go constants in api/health/v1/types.go:
|
||||
//
|
||||
// "grpc_health", "rpc_latency", "rpc_error_ratio",
|
||||
// "persistence_latency", "persistence_error_ratio",
|
||||
// "host_availability", "task_queue_backlog"
|
||||
//
|
||||
// We use strings instead of an enum for flexibility: new check types can be
|
||||
// added without proto changes. See HealthCheck.message for human-readable details.
|
||||
CheckType string `protobuf:"bytes,1,opt,name=check_type,json=checkType,proto3" json:"check_type,omitempty"`
|
||||
State v1.HealthState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.server.api.enums.v1.HealthState" json:"state,omitempty"`
|
||||
// Actual observed value (0 if N/A).
|
||||
Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
|
||||
// Threshold that was exceeded (0 if N/A).
|
||||
Threshold float64 `protobuf:"fixed64,4,opt,name=threshold,proto3" json:"threshold,omitempty"`
|
||||
// Human-readable detail describing what happened, e.g.
|
||||
// "RPC latency 850.00ms exceeded 500.00ms threshold".
|
||||
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HealthCheck) Reset() {
|
||||
*x = HealthCheck{}
|
||||
mi := &file_temporal_server_api_health_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HealthCheck) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HealthCheck) ProtoMessage() {}
|
||||
|
||||
func (x *HealthCheck) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_health_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 HealthCheck.ProtoReflect.Descriptor instead.
|
||||
func (*HealthCheck) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_health_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HealthCheck) GetCheckType() string {
|
||||
if x != nil {
|
||||
return x.CheckType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HealthCheck) GetState() v1.HealthState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.HealthState(0)
|
||||
}
|
||||
|
||||
func (x *HealthCheck) GetValue() float64 {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HealthCheck) GetThreshold() float64 {
|
||||
if x != nil {
|
||||
return x.Threshold
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HealthCheck) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Health details for a single host.
|
||||
type HostHealthDetail struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||||
State v1.HealthState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.server.api.enums.v1.HealthState" json:"state,omitempty"`
|
||||
Checks []*HealthCheck `protobuf:"bytes,3,rep,name=checks,proto3" json:"checks,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HostHealthDetail) Reset() {
|
||||
*x = HostHealthDetail{}
|
||||
mi := &file_temporal_server_api_health_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HostHealthDetail) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HostHealthDetail) ProtoMessage() {}
|
||||
|
||||
func (x *HostHealthDetail) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_health_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 HostHealthDetail.ProtoReflect.Descriptor instead.
|
||||
func (*HostHealthDetail) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_health_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *HostHealthDetail) GetAddress() string {
|
||||
if x != nil {
|
||||
return x.Address
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HostHealthDetail) GetState() v1.HealthState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.HealthState(0)
|
||||
}
|
||||
|
||||
func (x *HostHealthDetail) GetChecks() []*HealthCheck {
|
||||
if x != nil {
|
||||
return x.Checks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Health details for a service (history, frontend, matching).
|
||||
type ServiceHealthDetail struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
||||
State v1.HealthState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.server.api.enums.v1.HealthState" json:"state,omitempty"`
|
||||
Hosts []*HostHealthDetail `protobuf:"bytes,3,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
||||
// Service-level diagnostic message (e.g. "no available hosts", "resolver error").
|
||||
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) Reset() {
|
||||
*x = ServiceHealthDetail{}
|
||||
mi := &file_temporal_server_api_health_v1_message_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ServiceHealthDetail) ProtoMessage() {}
|
||||
|
||||
func (x *ServiceHealthDetail) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_health_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 ServiceHealthDetail.ProtoReflect.Descriptor instead.
|
||||
func (*ServiceHealthDetail) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_health_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) GetService() string {
|
||||
if x != nil {
|
||||
return x.Service
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) GetState() v1.HealthState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.HealthState(0)
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) GetHosts() []*HostHealthDetail {
|
||||
if x != nil {
|
||||
return x.Hosts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ServiceHealthDetail) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_temporal_server_api_health_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_health_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"+temporal/server/api/health/v1/message.proto\x12\x1dtemporal.server.api.health.v1\x1a*temporal/server/api/enums/v1/cluster.proto\"\xbb\x01\n" +
|
||||
"\vHealthCheck\x12\x1d\n" +
|
||||
"\n" +
|
||||
"check_type\x18\x01 \x01(\tR\tcheckType\x12?\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e2).temporal.server.api.enums.v1.HealthStateR\x05state\x12\x14\n" +
|
||||
"\x05value\x18\x03 \x01(\x01R\x05value\x12\x1c\n" +
|
||||
"\tthreshold\x18\x04 \x01(\x01R\tthreshold\x12\x18\n" +
|
||||
"\amessage\x18\x05 \x01(\tR\amessage\"\xb1\x01\n" +
|
||||
"\x10HostHealthDetail\x12\x18\n" +
|
||||
"\aaddress\x18\x01 \x01(\tR\aaddress\x12?\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e2).temporal.server.api.enums.v1.HealthStateR\x05state\x12B\n" +
|
||||
"\x06checks\x18\x03 \x03(\v2*.temporal.server.api.health.v1.HealthCheckR\x06checks\"\xd1\x01\n" +
|
||||
"\x13ServiceHealthDetail\x12\x18\n" +
|
||||
"\aservice\x18\x01 \x01(\tR\aservice\x12?\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e2).temporal.server.api.enums.v1.HealthStateR\x05state\x12E\n" +
|
||||
"\x05hosts\x18\x03 \x03(\v2/.temporal.server.api.health.v1.HostHealthDetailR\x05hosts\x12\x18\n" +
|
||||
"\amessage\x18\x04 \x01(\tR\amessageB,Z*go.temporal.io/server/api/health/v1;healthb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_health_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_health_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_health_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_health_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_health_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_health_v1_message_proto_rawDesc), len(file_temporal_server_api_health_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_health_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_health_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_temporal_server_api_health_v1_message_proto_goTypes = []any{
|
||||
(*HealthCheck)(nil), // 0: temporal.server.api.health.v1.HealthCheck
|
||||
(*HostHealthDetail)(nil), // 1: temporal.server.api.health.v1.HostHealthDetail
|
||||
(*ServiceHealthDetail)(nil), // 2: temporal.server.api.health.v1.ServiceHealthDetail
|
||||
(v1.HealthState)(0), // 3: temporal.server.api.enums.v1.HealthState
|
||||
}
|
||||
var file_temporal_server_api_health_v1_message_proto_depIdxs = []int32{
|
||||
3, // 0: temporal.server.api.health.v1.HealthCheck.state:type_name -> temporal.server.api.enums.v1.HealthState
|
||||
3, // 1: temporal.server.api.health.v1.HostHealthDetail.state:type_name -> temporal.server.api.enums.v1.HealthState
|
||||
0, // 2: temporal.server.api.health.v1.HostHealthDetail.checks:type_name -> temporal.server.api.health.v1.HealthCheck
|
||||
3, // 3: temporal.server.api.health.v1.ServiceHealthDetail.state:type_name -> temporal.server.api.enums.v1.HealthState
|
||||
1, // 4: temporal.server.api.health.v1.ServiceHealthDetail.hosts:type_name -> temporal.server.api.health.v1.HostHealthDetail
|
||||
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_server_api_health_v1_message_proto_init() }
|
||||
func file_temporal_server_api_health_v1_message_proto_init() {
|
||||
if File_temporal_server_api_health_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_server_api_health_v1_message_proto_rawDesc), len(file_temporal_server_api_health_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_health_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_health_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_health_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_health_v1_message_proto = out.File
|
||||
file_temporal_server_api_health_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_health_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,302 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package history
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type TransientWorkflowTaskInfo to the protobuf v3 wire format
|
||||
func (val *TransientWorkflowTaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TransientWorkflowTaskInfo from the protobuf v3 wire format
|
||||
func (val *TransientWorkflowTaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TransientWorkflowTaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TransientWorkflowTaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TransientWorkflowTaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TransientWorkflowTaskInfo
|
||||
switch t := that.(type) {
|
||||
case *TransientWorkflowTaskInfo:
|
||||
that1 = t
|
||||
case TransientWorkflowTaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionHistoryItem to the protobuf v3 wire format
|
||||
func (val *VersionHistoryItem) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionHistoryItem from the protobuf v3 wire format
|
||||
func (val *VersionHistoryItem) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionHistoryItem) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionHistoryItem values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionHistoryItem) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionHistoryItem
|
||||
switch t := that.(type) {
|
||||
case *VersionHistoryItem:
|
||||
that1 = t
|
||||
case VersionHistoryItem:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionHistory to the protobuf v3 wire format
|
||||
func (val *VersionHistory) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionHistory from the protobuf v3 wire format
|
||||
func (val *VersionHistory) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionHistory) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionHistory values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionHistory) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionHistory
|
||||
switch t := that.(type) {
|
||||
case *VersionHistory:
|
||||
that1 = t
|
||||
case VersionHistory:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionHistories to the protobuf v3 wire format
|
||||
func (val *VersionHistories) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionHistories from the protobuf v3 wire format
|
||||
func (val *VersionHistories) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionHistories) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionHistories values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionHistories) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionHistories
|
||||
switch t := that.(type) {
|
||||
case *VersionHistories:
|
||||
that1 = t
|
||||
case VersionHistories:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskKey to the protobuf v3 wire format
|
||||
func (val *TaskKey) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskKey from the protobuf v3 wire format
|
||||
func (val *TaskKey) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskKey) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskKey values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskKey) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskKey
|
||||
switch t := that.(type) {
|
||||
case *TaskKey:
|
||||
that1 = t
|
||||
case TaskKey:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskRange to the protobuf v3 wire format
|
||||
func (val *TaskRange) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskRange from the protobuf v3 wire format
|
||||
func (val *TaskRange) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskRange) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskRange values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskRange) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskRange
|
||||
switch t := that.(type) {
|
||||
case *TaskRange:
|
||||
that1 = t
|
||||
case TaskRange:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StrippedHistoryEvent to the protobuf v3 wire format
|
||||
func (val *StrippedHistoryEvent) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StrippedHistoryEvent from the protobuf v3 wire format
|
||||
func (val *StrippedHistoryEvent) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StrippedHistoryEvent) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StrippedHistoryEvent values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StrippedHistoryEvent) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StrippedHistoryEvent
|
||||
switch t := that.(type) {
|
||||
case *StrippedHistoryEvent:
|
||||
that1 = t
|
||||
case StrippedHistoryEvent:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StrippedHistoryEvents to the protobuf v3 wire format
|
||||
func (val *StrippedHistoryEvents) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StrippedHistoryEvents from the protobuf v3 wire format
|
||||
func (val *StrippedHistoryEvents) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StrippedHistoryEvents) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StrippedHistoryEvents values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StrippedHistoryEvents) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StrippedHistoryEvents
|
||||
switch t := that.(type) {
|
||||
case *StrippedHistoryEvents:
|
||||
that1 = t
|
||||
case StrippedHistoryEvents:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,522 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/history/v1/message.proto
|
||||
|
||||
package history
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/history/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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 TransientWorkflowTaskInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// A list of history events that are to be appended to the "real" workflow history.
|
||||
HistorySuffix []*v1.HistoryEvent `protobuf:"bytes,3,rep,name=history_suffix,json=historySuffix,proto3" json:"history_suffix,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TransientWorkflowTaskInfo) Reset() {
|
||||
*x = TransientWorkflowTaskInfo{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TransientWorkflowTaskInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TransientWorkflowTaskInfo) ProtoMessage() {}
|
||||
|
||||
func (x *TransientWorkflowTaskInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 TransientWorkflowTaskInfo.ProtoReflect.Descriptor instead.
|
||||
func (*TransientWorkflowTaskInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *TransientWorkflowTaskInfo) GetHistorySuffix() []*v1.HistoryEvent {
|
||||
if x != nil {
|
||||
return x.HistorySuffix
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// VersionHistoryItem contains signal eventId and the corresponding version.
|
||||
type VersionHistoryItem struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||||
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersionHistoryItem) Reset() {
|
||||
*x = VersionHistoryItem{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersionHistoryItem) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersionHistoryItem) ProtoMessage() {}
|
||||
|
||||
func (x *VersionHistoryItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 VersionHistoryItem.ProtoReflect.Descriptor instead.
|
||||
func (*VersionHistoryItem) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *VersionHistoryItem) GetEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VersionHistoryItem) GetVersion() int64 {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// VersionHistory contains the version history of a branch.
|
||||
type VersionHistory struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
BranchToken []byte `protobuf:"bytes,1,opt,name=branch_token,json=branchToken,proto3" json:"branch_token,omitempty"`
|
||||
Items []*VersionHistoryItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersionHistory) Reset() {
|
||||
*x = VersionHistory{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersionHistory) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersionHistory) ProtoMessage() {}
|
||||
|
||||
func (x *VersionHistory) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 VersionHistory.ProtoReflect.Descriptor instead.
|
||||
func (*VersionHistory) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *VersionHistory) GetBranchToken() []byte {
|
||||
if x != nil {
|
||||
return x.BranchToken
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VersionHistory) GetItems() []*VersionHistoryItem {
|
||||
if x != nil {
|
||||
return x.Items
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// VersionHistories contains all version histories from all branches.
|
||||
type VersionHistories struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CurrentVersionHistoryIndex int32 `protobuf:"varint,1,opt,name=current_version_history_index,json=currentVersionHistoryIndex,proto3" json:"current_version_history_index,omitempty"`
|
||||
Histories []*VersionHistory `protobuf:"bytes,2,rep,name=histories,proto3" json:"histories,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersionHistories) Reset() {
|
||||
*x = VersionHistories{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersionHistories) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersionHistories) ProtoMessage() {}
|
||||
|
||||
func (x *VersionHistories) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 VersionHistories.ProtoReflect.Descriptor instead.
|
||||
func (*VersionHistories) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *VersionHistories) GetCurrentVersionHistoryIndex() int32 {
|
||||
if x != nil {
|
||||
return x.CurrentVersionHistoryIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VersionHistories) GetHistories() []*VersionHistory {
|
||||
if x != nil {
|
||||
return x.Histories
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type TaskKey struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||||
FireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=fire_time,json=fireTime,proto3" json:"fire_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskKey) Reset() {
|
||||
*x = TaskKey{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskKey) ProtoMessage() {}
|
||||
|
||||
func (x *TaskKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 TaskKey.ProtoReflect.Descriptor instead.
|
||||
func (*TaskKey) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *TaskKey) GetTaskId() int64 {
|
||||
if x != nil {
|
||||
return x.TaskId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TaskKey) GetFireTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.FireTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type TaskRange struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
InclusiveMinTaskKey *TaskKey `protobuf:"bytes,1,opt,name=inclusive_min_task_key,json=inclusiveMinTaskKey,proto3" json:"inclusive_min_task_key,omitempty"`
|
||||
ExclusiveMaxTaskKey *TaskKey `protobuf:"bytes,2,opt,name=exclusive_max_task_key,json=exclusiveMaxTaskKey,proto3" json:"exclusive_max_task_key,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskRange) Reset() {
|
||||
*x = TaskRange{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskRange) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskRange) ProtoMessage() {}
|
||||
|
||||
func (x *TaskRange) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 TaskRange.ProtoReflect.Descriptor instead.
|
||||
func (*TaskRange) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *TaskRange) GetInclusiveMinTaskKey() *TaskKey {
|
||||
if x != nil {
|
||||
return x.InclusiveMinTaskKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskRange) GetExclusiveMaxTaskKey() *TaskKey {
|
||||
if x != nil {
|
||||
return x.ExclusiveMaxTaskKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// StrippedHistoryEvent is a stripped down version of HistoryEvent that only contains the event_id and version.
|
||||
type StrippedHistoryEvent struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||||
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvent) Reset() {
|
||||
*x = StrippedHistoryEvent{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvent) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StrippedHistoryEvent) ProtoMessage() {}
|
||||
|
||||
func (x *StrippedHistoryEvent) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 StrippedHistoryEvent.ProtoReflect.Descriptor instead.
|
||||
func (*StrippedHistoryEvent) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvent) GetEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvent) GetVersion() int64 {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type StrippedHistoryEvents struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Events []*StrippedHistoryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvents) Reset() {
|
||||
*x = StrippedHistoryEvents{}
|
||||
mi := &file_temporal_server_api_history_v1_message_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvents) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StrippedHistoryEvents) ProtoMessage() {}
|
||||
|
||||
func (x *StrippedHistoryEvents) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 StrippedHistoryEvents.ProtoReflect.Descriptor instead.
|
||||
func (*StrippedHistoryEvents) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *StrippedHistoryEvents) GetEvents() []*StrippedHistoryEvent {
|
||||
if x != nil {
|
||||
return x.Events
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_history_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_history_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",temporal/server/api/history/v1/message.proto\x12\x1etemporal.server.api.history.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/history/v1/message.proto\"u\n" +
|
||||
"\x19TransientWorkflowTaskInfo\x12L\n" +
|
||||
"\x0ehistory_suffix\x18\x03 \x03(\v2%.temporal.api.history.v1.HistoryEventR\rhistorySuffixJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\"I\n" +
|
||||
"\x12VersionHistoryItem\x12\x19\n" +
|
||||
"\bevent_id\x18\x01 \x01(\x03R\aeventId\x12\x18\n" +
|
||||
"\aversion\x18\x02 \x01(\x03R\aversion\"}\n" +
|
||||
"\x0eVersionHistory\x12!\n" +
|
||||
"\fbranch_token\x18\x01 \x01(\fR\vbranchToken\x12H\n" +
|
||||
"\x05items\x18\x02 \x03(\v22.temporal.server.api.history.v1.VersionHistoryItemR\x05items\"\xa3\x01\n" +
|
||||
"\x10VersionHistories\x12A\n" +
|
||||
"\x1dcurrent_version_history_index\x18\x01 \x01(\x05R\x1acurrentVersionHistoryIndex\x12L\n" +
|
||||
"\thistories\x18\x02 \x03(\v2..temporal.server.api.history.v1.VersionHistoryR\thistories\"[\n" +
|
||||
"\aTaskKey\x12\x17\n" +
|
||||
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x127\n" +
|
||||
"\tfire_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\bfireTime\"\xc7\x01\n" +
|
||||
"\tTaskRange\x12\\\n" +
|
||||
"\x16inclusive_min_task_key\x18\x01 \x01(\v2'.temporal.server.api.history.v1.TaskKeyR\x13inclusiveMinTaskKey\x12\\\n" +
|
||||
"\x16exclusive_max_task_key\x18\x02 \x01(\v2'.temporal.server.api.history.v1.TaskKeyR\x13exclusiveMaxTaskKey\"K\n" +
|
||||
"\x14StrippedHistoryEvent\x12\x19\n" +
|
||||
"\bevent_id\x18\x01 \x01(\x03R\aeventId\x12\x18\n" +
|
||||
"\aversion\x18\x04 \x01(\x03R\aversion\"e\n" +
|
||||
"\x15StrippedHistoryEvents\x12L\n" +
|
||||
"\x06events\x18\x01 \x03(\v24.temporal.server.api.history.v1.StrippedHistoryEventR\x06eventsB.Z,go.temporal.io/server/api/history/v1;historyb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_history_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_history_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_history_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_history_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_history_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_history_v1_message_proto_rawDesc), len(file_temporal_server_api_history_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_history_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_history_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_temporal_server_api_history_v1_message_proto_goTypes = []any{
|
||||
(*TransientWorkflowTaskInfo)(nil), // 0: temporal.server.api.history.v1.TransientWorkflowTaskInfo
|
||||
(*VersionHistoryItem)(nil), // 1: temporal.server.api.history.v1.VersionHistoryItem
|
||||
(*VersionHistory)(nil), // 2: temporal.server.api.history.v1.VersionHistory
|
||||
(*VersionHistories)(nil), // 3: temporal.server.api.history.v1.VersionHistories
|
||||
(*TaskKey)(nil), // 4: temporal.server.api.history.v1.TaskKey
|
||||
(*TaskRange)(nil), // 5: temporal.server.api.history.v1.TaskRange
|
||||
(*StrippedHistoryEvent)(nil), // 6: temporal.server.api.history.v1.StrippedHistoryEvent
|
||||
(*StrippedHistoryEvents)(nil), // 7: temporal.server.api.history.v1.StrippedHistoryEvents
|
||||
(*v1.HistoryEvent)(nil), // 8: temporal.api.history.v1.HistoryEvent
|
||||
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_history_v1_message_proto_depIdxs = []int32{
|
||||
8, // 0: temporal.server.api.history.v1.TransientWorkflowTaskInfo.history_suffix:type_name -> temporal.api.history.v1.HistoryEvent
|
||||
1, // 1: temporal.server.api.history.v1.VersionHistory.items:type_name -> temporal.server.api.history.v1.VersionHistoryItem
|
||||
2, // 2: temporal.server.api.history.v1.VersionHistories.histories:type_name -> temporal.server.api.history.v1.VersionHistory
|
||||
9, // 3: temporal.server.api.history.v1.TaskKey.fire_time:type_name -> google.protobuf.Timestamp
|
||||
4, // 4: temporal.server.api.history.v1.TaskRange.inclusive_min_task_key:type_name -> temporal.server.api.history.v1.TaskKey
|
||||
4, // 5: temporal.server.api.history.v1.TaskRange.exclusive_max_task_key:type_name -> temporal.server.api.history.v1.TaskKey
|
||||
6, // 6: temporal.server.api.history.v1.StrippedHistoryEvents.events:type_name -> temporal.server.api.history.v1.StrippedHistoryEvent
|
||||
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_temporal_server_api_history_v1_message_proto_init() }
|
||||
func file_temporal_server_api_history_v1_message_proto_init() {
|
||||
if File_temporal_server_api_history_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_server_api_history_v1_message_proto_rawDesc), len(file_temporal_server_api_history_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_history_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_history_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_history_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_history_v1_message_proto = out.File
|
||||
file_temporal_server_api_history_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_history_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,447 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/historyservice/v1/service.proto
|
||||
|
||||
package historyservice
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
unsafe "unsafe"
|
||||
|
||||
_ "github.com/hanzoai/tasks/api/common/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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_server_api_historyservice_v1_service_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_historyservice_v1_service_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"3temporal/server/api/historyservice/v1/service.proto\x12%temporal.server.api.historyservice.v1\x1a<temporal/server/api/historyservice/v1/request_response.proto\x1a0temporal/server/api/common/v1/api_category.proto2\xdfg\n" +
|
||||
"\x0eHistoryService\x12\xad\x01\n" +
|
||||
"\x16StartWorkflowExecution\x12D.temporal.server.api.historyservice.v1.StartWorkflowExecutionRequest\x1aE.temporal.server.api.historyservice.v1.StartWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x98\x01\n" +
|
||||
"\x0fGetMutableState\x12=.temporal.server.api.historyservice.v1.GetMutableStateRequest\x1a>.temporal.server.api.historyservice.v1.GetMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x9b\x01\n" +
|
||||
"\x10PollMutableState\x12>.temporal.server.api.historyservice.v1.PollMutableStateRequest\x1a?.temporal.server.api.historyservice.v1.PollMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xa7\x01\n" +
|
||||
"\x14ResetStickyTaskQueue\x12B.temporal.server.api.historyservice.v1.ResetStickyTaskQueueRequest\x1aC.temporal.server.api.historyservice.v1.ResetStickyTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19RecordWorkflowTaskStarted\x12G.temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedRequest\x1aH.temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19RecordActivityTaskStarted\x12G.temporal.server.api.historyservice.v1.RecordActivityTaskStartedRequest\x1aH.temporal.server.api.historyservice.v1.RecordActivityTaskStartedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbf\x01\n" +
|
||||
"\x1cRespondWorkflowTaskCompleted\x12J.temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedRequest\x1aK.temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19RespondWorkflowTaskFailed\x12G.temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedRequest\x1aH.temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa4\x01\n" +
|
||||
"\x13IsWorkflowTaskValid\x12A.temporal.server.api.historyservice.v1.IsWorkflowTaskValidRequest\x1aB.temporal.server.api.historyservice.v1.IsWorkflowTaskValidResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbc\x01\n" +
|
||||
"\x1bRecordActivityTaskHeartbeat\x12I.temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatRequest\x1aJ.temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbf\x01\n" +
|
||||
"\x1cRespondActivityTaskCompleted\x12J.temporal.server.api.historyservice.v1.RespondActivityTaskCompletedRequest\x1aK.temporal.server.api.historyservice.v1.RespondActivityTaskCompletedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19RespondActivityTaskFailed\x12G.temporal.server.api.historyservice.v1.RespondActivityTaskFailedRequest\x1aH.temporal.server.api.historyservice.v1.RespondActivityTaskFailedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbc\x01\n" +
|
||||
"\x1bRespondActivityTaskCanceled\x12I.temporal.server.api.historyservice.v1.RespondActivityTaskCanceledRequest\x1aJ.temporal.server.api.historyservice.v1.RespondActivityTaskCanceledResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa4\x01\n" +
|
||||
"\x13IsActivityTaskValid\x12A.temporal.server.api.historyservice.v1.IsActivityTaskValidRequest\x1aB.temporal.server.api.historyservice.v1.IsActivityTaskValidResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb0\x01\n" +
|
||||
"\x17SignalWorkflowExecution\x12E.temporal.server.api.historyservice.v1.SignalWorkflowExecutionRequest\x1aF.temporal.server.api.historyservice.v1.SignalWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xcb\x01\n" +
|
||||
" SignalWithStartWorkflowExecution\x12N.temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionRequest\x1aO.temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xaa\x01\n" +
|
||||
"\x15ExecuteMultiOperation\x12C.temporal.server.api.historyservice.v1.ExecuteMultiOperationRequest\x1aD.temporal.server.api.historyservice.v1.ExecuteMultiOperationResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xb3\x01\n" +
|
||||
"\x18RemoveSignalMutableState\x12F.temporal.server.api.historyservice.v1.RemoveSignalMutableStateRequest\x1aG.temporal.server.api.historyservice.v1.RemoveSignalMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb9\x01\n" +
|
||||
"\x1aTerminateWorkflowExecution\x12H.temporal.server.api.historyservice.v1.TerminateWorkflowExecutionRequest\x1aI.temporal.server.api.historyservice.v1.TerminateWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb0\x01\n" +
|
||||
"\x17DeleteWorkflowExecution\x12E.temporal.server.api.historyservice.v1.DeleteWorkflowExecutionRequest\x1aF.temporal.server.api.historyservice.v1.DeleteWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xad\x01\n" +
|
||||
"\x16ResetWorkflowExecution\x12D.temporal.server.api.historyservice.v1.ResetWorkflowExecutionRequest\x1aE.temporal.server.api.historyservice.v1.ResetWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc5\x01\n" +
|
||||
"\x1eUpdateWorkflowExecutionOptions\x12L.temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aM.temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc5\x01\n" +
|
||||
"\x1eRequestCancelWorkflowExecution\x12L.temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionRequest\x1aM.temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa7\x01\n" +
|
||||
"\x14ScheduleWorkflowTask\x12B.temporal.server.api.historyservice.v1.ScheduleWorkflowTaskRequest\x1aC.temporal.server.api.historyservice.v1.ScheduleWorkflowTaskResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xcb\x01\n" +
|
||||
" VerifyFirstWorkflowTaskScheduled\x12N.temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledRequest\x1aO.temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc2\x01\n" +
|
||||
"\x1dRecordChildExecutionCompleted\x12K.temporal.server.api.historyservice.v1.RecordChildExecutionCompletedRequest\x1aL.temporal.server.api.historyservice.v1.RecordChildExecutionCompletedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xdd\x01\n" +
|
||||
"&VerifyChildExecutionCompletionRecorded\x12T.temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedRequest\x1aU.temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19DescribeWorkflowExecution\x12G.temporal.server.api.historyservice.v1.DescribeWorkflowExecutionRequest\x1aH.temporal.server.api.historyservice.v1.DescribeWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x9e\x01\n" +
|
||||
"\x11ReplicateEventsV2\x12?.temporal.server.api.historyservice.v1.ReplicateEventsV2Request\x1a@.temporal.server.api.historyservice.v1.ReplicateEventsV2Response\"\x06\x8a\xb5\x18\x02\b\x01\x12\xad\x01\n" +
|
||||
"\x16ReplicateWorkflowState\x12D.temporal.server.api.historyservice.v1.ReplicateWorkflowStateRequest\x1aE.temporal.server.api.historyservice.v1.ReplicateWorkflowStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x98\x01\n" +
|
||||
"\x0fSyncShardStatus\x12=.temporal.server.api.historyservice.v1.SyncShardStatusRequest\x1a>.temporal.server.api.historyservice.v1.SyncShardStatusResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x8f\x01\n" +
|
||||
"\fSyncActivity\x12:.temporal.server.api.historyservice.v1.SyncActivityRequest\x1a;.temporal.server.api.historyservice.v1.SyncActivityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa7\x01\n" +
|
||||
"\x14DescribeMutableState\x12B.temporal.server.api.historyservice.v1.DescribeMutableStateRequest\x1aC.temporal.server.api.historyservice.v1.DescribeMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa4\x01\n" +
|
||||
"\x13DescribeHistoryHost\x12A.temporal.server.api.historyservice.v1.DescribeHistoryHostRequest\x1aB.temporal.server.api.historyservice.v1.DescribeHistoryHostResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x89\x01\n" +
|
||||
"\n" +
|
||||
"CloseShard\x128.temporal.server.api.historyservice.v1.CloseShardRequest\x1a9.temporal.server.api.historyservice.v1.CloseShardResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x83\x01\n" +
|
||||
"\bGetShard\x126.temporal.server.api.historyservice.v1.GetShardRequest\x1a7.temporal.server.api.historyservice.v1.GetShardResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x89\x01\n" +
|
||||
"\n" +
|
||||
"RemoveTask\x128.temporal.server.api.historyservice.v1.RemoveTaskRequest\x1a9.temporal.server.api.historyservice.v1.RemoveTaskResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xad\x01\n" +
|
||||
"\x16GetReplicationMessages\x12D.temporal.server.api.historyservice.v1.GetReplicationMessagesRequest\x1aE.temporal.server.api.historyservice.v1.GetReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb6\x01\n" +
|
||||
"\x19GetDLQReplicationMessages\x12G.temporal.server.api.historyservice.v1.GetDLQReplicationMessagesRequest\x1aH.temporal.server.api.historyservice.v1.GetDLQReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x92\x01\n" +
|
||||
"\rQueryWorkflow\x12;.temporal.server.api.historyservice.v1.QueryWorkflowRequest\x1a<.temporal.server.api.historyservice.v1.QueryWorkflowResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\x92\x01\n" +
|
||||
"\rReapplyEvents\x12;.temporal.server.api.historyservice.v1.ReapplyEventsRequest\x1a<.temporal.server.api.historyservice.v1.ReapplyEventsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x95\x01\n" +
|
||||
"\x0eGetDLQMessages\x12<.temporal.server.api.historyservice.v1.GetDLQMessagesRequest\x1a=.temporal.server.api.historyservice.v1.GetDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9b\x01\n" +
|
||||
"\x10PurgeDLQMessages\x12>.temporal.server.api.historyservice.v1.PurgeDLQMessagesRequest\x1a?.temporal.server.api.historyservice.v1.PurgeDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9b\x01\n" +
|
||||
"\x10MergeDLQMessages\x12>.temporal.server.api.historyservice.v1.MergeDLQMessagesRequest\x1a?.temporal.server.api.historyservice.v1.MergeDLQMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xa7\x01\n" +
|
||||
"\x14RefreshWorkflowTasks\x12B.temporal.server.api.historyservice.v1.RefreshWorkflowTasksRequest\x1aC.temporal.server.api.historyservice.v1.RefreshWorkflowTasksResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xd4\x01\n" +
|
||||
"#GenerateLastHistoryReplicationTasks\x12Q.temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksRequest\x1aR.temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa7\x01\n" +
|
||||
"\x14GetReplicationStatus\x12B.temporal.server.api.historyservice.v1.GetReplicationStatusRequest\x1aC.temporal.server.api.historyservice.v1.GetReplicationStatusResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa4\x01\n" +
|
||||
"\x13RebuildMutableState\x12A.temporal.server.api.historyservice.v1.RebuildMutableStateRequest\x1aB.temporal.server.api.historyservice.v1.RebuildMutableStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb0\x01\n" +
|
||||
"\x17ImportWorkflowExecution\x12E.temporal.server.api.historyservice.v1.ImportWorkflowExecutionRequest\x1aF.temporal.server.api.historyservice.v1.ImportWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc5\x01\n" +
|
||||
"\x1eDeleteWorkflowVisibilityRecord\x12L.temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordRequest\x1aM.temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\xb0\x01\n" +
|
||||
"\x17UpdateWorkflowExecution\x12E.temporal.server.api.historyservice.v1.UpdateWorkflowExecutionRequest\x1aF.temporal.server.api.historyservice.v1.UpdateWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xbc\x01\n" +
|
||||
"\x1bPollWorkflowExecutionUpdate\x12I.temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateRequest\x1aJ.temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xd2\x01\n" +
|
||||
"!StreamWorkflowReplicationMessages\x12O.temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesRequest\x1aP.temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesResponse\"\x06\x8a\xb5\x18\x02\b\x03(\x010\x01\x12\xbc\x01\n" +
|
||||
"\x1bGetWorkflowExecutionHistory\x12I.temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryRequest\x1aJ.temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xd1\x01\n" +
|
||||
"\"GetWorkflowExecutionHistoryReverse\x12P.temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aQ.temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xcb\x01\n" +
|
||||
" GetWorkflowExecutionRawHistoryV2\x12N.temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Request\x1aO.temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Response\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc5\x01\n" +
|
||||
"\x1eGetWorkflowExecutionRawHistory\x12L.temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryRequest\x1aM.temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbf\x01\n" +
|
||||
"\x1cForceDeleteWorkflowExecution\x12J.temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionRequest\x1aK.temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x8c\x01\n" +
|
||||
"\vGetDLQTasks\x129.temporal.server.api.historyservice.v1.GetDLQTasksRequest\x1a:.temporal.server.api.historyservice.v1.GetDLQTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x95\x01\n" +
|
||||
"\x0eDeleteDLQTasks\x12<.temporal.server.api.historyservice.v1.DeleteDLQTasksRequest\x1a=.temporal.server.api.historyservice.v1.DeleteDLQTasksResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x89\x01\n" +
|
||||
"\n" +
|
||||
"ListQueues\x128.temporal.server.api.historyservice.v1.ListQueuesRequest\x1a9.temporal.server.api.historyservice.v1.ListQueuesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x83\x01\n" +
|
||||
"\bAddTasks\x126.temporal.server.api.historyservice.v1.AddTasksRequest\x1a7.temporal.server.api.historyservice.v1.AddTasksResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x86\x01\n" +
|
||||
"\tListTasks\x127.temporal.server.api.historyservice.v1.ListTasksRequest\x1a8.temporal.server.api.historyservice.v1.ListTasksResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xad\x01\n" +
|
||||
"\x16CompleteNexusOperation\x12D.temporal.server.api.historyservice.v1.CompleteNexusOperationRequest\x1aE.temporal.server.api.historyservice.v1.CompleteNexusOperationResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbc\x01\n" +
|
||||
"\x1bCompleteNexusOperationChasm\x12I.temporal.server.api.historyservice.v1.CompleteNexusOperationChasmRequest\x1aJ.temporal.server.api.historyservice.v1.CompleteNexusOperationChasmResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb3\x01\n" +
|
||||
"\x18InvokeStateMachineMethod\x12F.temporal.server.api.historyservice.v1.InvokeStateMachineMethodRequest\x1aG.temporal.server.api.historyservice.v1.InvokeStateMachineMethodResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x98\x01\n" +
|
||||
"\x0fDeepHealthCheck\x12=.temporal.server.api.historyservice.v1.DeepHealthCheckRequest\x1a>.temporal.server.api.historyservice.v1.DeepHealthCheckResponse\"\x06\x8a\xb5\x18\x02\b\x03\x12\x9e\x01\n" +
|
||||
"\x11SyncWorkflowState\x12?.temporal.server.api.historyservice.v1.SyncWorkflowStateRequest\x1a@.temporal.server.api.historyservice.v1.SyncWorkflowStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xaa\x01\n" +
|
||||
"\x15UpdateActivityOptions\x12C.temporal.server.api.historyservice.v1.UpdateActivityOptionsRequest\x1aD.temporal.server.api.historyservice.v1.UpdateActivityOptionsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x92\x01\n" +
|
||||
"\rPauseActivity\x12;.temporal.server.api.historyservice.v1.PauseActivityRequest\x1a<.temporal.server.api.historyservice.v1.PauseActivityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x98\x01\n" +
|
||||
"\x0fUnpauseActivity\x12=.temporal.server.api.historyservice.v1.UnpauseActivityRequest\x1a>.temporal.server.api.historyservice.v1.UnpauseActivityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x92\x01\n" +
|
||||
"\rResetActivity\x12;.temporal.server.api.historyservice.v1.ResetActivityRequest\x1a<.temporal.server.api.historyservice.v1.ResetActivityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xad\x01\n" +
|
||||
"\x16PauseWorkflowExecution\x12D.temporal.server.api.historyservice.v1.PauseWorkflowExecutionRequest\x1aE.temporal.server.api.historyservice.v1.PauseWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb3\x01\n" +
|
||||
"\x18UnpauseWorkflowExecution\x12F.temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionRequest\x1aG.temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa4\x01\n" +
|
||||
"\x13StartNexusOperation\x12A.temporal.server.api.historyservice.v1.StartNexusOperationRequest\x1aB.temporal.server.api.historyservice.v1.StartNexusOperationResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa7\x01\n" +
|
||||
"\x14CancelNexusOperation\x12B.temporal.server.api.historyservice.v1.CancelNexusOperationRequest\x1aC.temporal.server.api.historyservice.v1.CancelNexusOperationResponse\"\x06\x8a\xb5\x18\x02\b\x01B<Z:go.temporal.io/server/api/historyservice/v1;historyserviceb\x06proto3"
|
||||
|
||||
var file_temporal_server_api_historyservice_v1_service_proto_goTypes = []any{
|
||||
(*StartWorkflowExecutionRequest)(nil), // 0: temporal.server.api.historyservice.v1.StartWorkflowExecutionRequest
|
||||
(*GetMutableStateRequest)(nil), // 1: temporal.server.api.historyservice.v1.GetMutableStateRequest
|
||||
(*PollMutableStateRequest)(nil), // 2: temporal.server.api.historyservice.v1.PollMutableStateRequest
|
||||
(*ResetStickyTaskQueueRequest)(nil), // 3: temporal.server.api.historyservice.v1.ResetStickyTaskQueueRequest
|
||||
(*RecordWorkflowTaskStartedRequest)(nil), // 4: temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedRequest
|
||||
(*RecordActivityTaskStartedRequest)(nil), // 5: temporal.server.api.historyservice.v1.RecordActivityTaskStartedRequest
|
||||
(*RespondWorkflowTaskCompletedRequest)(nil), // 6: temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedRequest
|
||||
(*RespondWorkflowTaskFailedRequest)(nil), // 7: temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedRequest
|
||||
(*IsWorkflowTaskValidRequest)(nil), // 8: temporal.server.api.historyservice.v1.IsWorkflowTaskValidRequest
|
||||
(*RecordActivityTaskHeartbeatRequest)(nil), // 9: temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatRequest
|
||||
(*RespondActivityTaskCompletedRequest)(nil), // 10: temporal.server.api.historyservice.v1.RespondActivityTaskCompletedRequest
|
||||
(*RespondActivityTaskFailedRequest)(nil), // 11: temporal.server.api.historyservice.v1.RespondActivityTaskFailedRequest
|
||||
(*RespondActivityTaskCanceledRequest)(nil), // 12: temporal.server.api.historyservice.v1.RespondActivityTaskCanceledRequest
|
||||
(*IsActivityTaskValidRequest)(nil), // 13: temporal.server.api.historyservice.v1.IsActivityTaskValidRequest
|
||||
(*SignalWorkflowExecutionRequest)(nil), // 14: temporal.server.api.historyservice.v1.SignalWorkflowExecutionRequest
|
||||
(*SignalWithStartWorkflowExecutionRequest)(nil), // 15: temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionRequest
|
||||
(*ExecuteMultiOperationRequest)(nil), // 16: temporal.server.api.historyservice.v1.ExecuteMultiOperationRequest
|
||||
(*RemoveSignalMutableStateRequest)(nil), // 17: temporal.server.api.historyservice.v1.RemoveSignalMutableStateRequest
|
||||
(*TerminateWorkflowExecutionRequest)(nil), // 18: temporal.server.api.historyservice.v1.TerminateWorkflowExecutionRequest
|
||||
(*DeleteWorkflowExecutionRequest)(nil), // 19: temporal.server.api.historyservice.v1.DeleteWorkflowExecutionRequest
|
||||
(*ResetWorkflowExecutionRequest)(nil), // 20: temporal.server.api.historyservice.v1.ResetWorkflowExecutionRequest
|
||||
(*UpdateWorkflowExecutionOptionsRequest)(nil), // 21: temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsRequest
|
||||
(*RequestCancelWorkflowExecutionRequest)(nil), // 22: temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionRequest
|
||||
(*ScheduleWorkflowTaskRequest)(nil), // 23: temporal.server.api.historyservice.v1.ScheduleWorkflowTaskRequest
|
||||
(*VerifyFirstWorkflowTaskScheduledRequest)(nil), // 24: temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledRequest
|
||||
(*RecordChildExecutionCompletedRequest)(nil), // 25: temporal.server.api.historyservice.v1.RecordChildExecutionCompletedRequest
|
||||
(*VerifyChildExecutionCompletionRecordedRequest)(nil), // 26: temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedRequest
|
||||
(*DescribeWorkflowExecutionRequest)(nil), // 27: temporal.server.api.historyservice.v1.DescribeWorkflowExecutionRequest
|
||||
(*ReplicateEventsV2Request)(nil), // 28: temporal.server.api.historyservice.v1.ReplicateEventsV2Request
|
||||
(*ReplicateWorkflowStateRequest)(nil), // 29: temporal.server.api.historyservice.v1.ReplicateWorkflowStateRequest
|
||||
(*SyncShardStatusRequest)(nil), // 30: temporal.server.api.historyservice.v1.SyncShardStatusRequest
|
||||
(*SyncActivityRequest)(nil), // 31: temporal.server.api.historyservice.v1.SyncActivityRequest
|
||||
(*DescribeMutableStateRequest)(nil), // 32: temporal.server.api.historyservice.v1.DescribeMutableStateRequest
|
||||
(*DescribeHistoryHostRequest)(nil), // 33: temporal.server.api.historyservice.v1.DescribeHistoryHostRequest
|
||||
(*CloseShardRequest)(nil), // 34: temporal.server.api.historyservice.v1.CloseShardRequest
|
||||
(*GetShardRequest)(nil), // 35: temporal.server.api.historyservice.v1.GetShardRequest
|
||||
(*RemoveTaskRequest)(nil), // 36: temporal.server.api.historyservice.v1.RemoveTaskRequest
|
||||
(*GetReplicationMessagesRequest)(nil), // 37: temporal.server.api.historyservice.v1.GetReplicationMessagesRequest
|
||||
(*GetDLQReplicationMessagesRequest)(nil), // 38: temporal.server.api.historyservice.v1.GetDLQReplicationMessagesRequest
|
||||
(*QueryWorkflowRequest)(nil), // 39: temporal.server.api.historyservice.v1.QueryWorkflowRequest
|
||||
(*ReapplyEventsRequest)(nil), // 40: temporal.server.api.historyservice.v1.ReapplyEventsRequest
|
||||
(*GetDLQMessagesRequest)(nil), // 41: temporal.server.api.historyservice.v1.GetDLQMessagesRequest
|
||||
(*PurgeDLQMessagesRequest)(nil), // 42: temporal.server.api.historyservice.v1.PurgeDLQMessagesRequest
|
||||
(*MergeDLQMessagesRequest)(nil), // 43: temporal.server.api.historyservice.v1.MergeDLQMessagesRequest
|
||||
(*RefreshWorkflowTasksRequest)(nil), // 44: temporal.server.api.historyservice.v1.RefreshWorkflowTasksRequest
|
||||
(*GenerateLastHistoryReplicationTasksRequest)(nil), // 45: temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksRequest
|
||||
(*GetReplicationStatusRequest)(nil), // 46: temporal.server.api.historyservice.v1.GetReplicationStatusRequest
|
||||
(*RebuildMutableStateRequest)(nil), // 47: temporal.server.api.historyservice.v1.RebuildMutableStateRequest
|
||||
(*ImportWorkflowExecutionRequest)(nil), // 48: temporal.server.api.historyservice.v1.ImportWorkflowExecutionRequest
|
||||
(*DeleteWorkflowVisibilityRecordRequest)(nil), // 49: temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordRequest
|
||||
(*UpdateWorkflowExecutionRequest)(nil), // 50: temporal.server.api.historyservice.v1.UpdateWorkflowExecutionRequest
|
||||
(*PollWorkflowExecutionUpdateRequest)(nil), // 51: temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateRequest
|
||||
(*StreamWorkflowReplicationMessagesRequest)(nil), // 52: temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesRequest
|
||||
(*GetWorkflowExecutionHistoryRequest)(nil), // 53: temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryRequest
|
||||
(*GetWorkflowExecutionHistoryReverseRequest)(nil), // 54: temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseRequest
|
||||
(*GetWorkflowExecutionRawHistoryV2Request)(nil), // 55: temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Request
|
||||
(*GetWorkflowExecutionRawHistoryRequest)(nil), // 56: temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryRequest
|
||||
(*ForceDeleteWorkflowExecutionRequest)(nil), // 57: temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionRequest
|
||||
(*GetDLQTasksRequest)(nil), // 58: temporal.server.api.historyservice.v1.GetDLQTasksRequest
|
||||
(*DeleteDLQTasksRequest)(nil), // 59: temporal.server.api.historyservice.v1.DeleteDLQTasksRequest
|
||||
(*ListQueuesRequest)(nil), // 60: temporal.server.api.historyservice.v1.ListQueuesRequest
|
||||
(*AddTasksRequest)(nil), // 61: temporal.server.api.historyservice.v1.AddTasksRequest
|
||||
(*ListTasksRequest)(nil), // 62: temporal.server.api.historyservice.v1.ListTasksRequest
|
||||
(*CompleteNexusOperationRequest)(nil), // 63: temporal.server.api.historyservice.v1.CompleteNexusOperationRequest
|
||||
(*CompleteNexusOperationChasmRequest)(nil), // 64: temporal.server.api.historyservice.v1.CompleteNexusOperationChasmRequest
|
||||
(*InvokeStateMachineMethodRequest)(nil), // 65: temporal.server.api.historyservice.v1.InvokeStateMachineMethodRequest
|
||||
(*DeepHealthCheckRequest)(nil), // 66: temporal.server.api.historyservice.v1.DeepHealthCheckRequest
|
||||
(*SyncWorkflowStateRequest)(nil), // 67: temporal.server.api.historyservice.v1.SyncWorkflowStateRequest
|
||||
(*UpdateActivityOptionsRequest)(nil), // 68: temporal.server.api.historyservice.v1.UpdateActivityOptionsRequest
|
||||
(*PauseActivityRequest)(nil), // 69: temporal.server.api.historyservice.v1.PauseActivityRequest
|
||||
(*UnpauseActivityRequest)(nil), // 70: temporal.server.api.historyservice.v1.UnpauseActivityRequest
|
||||
(*ResetActivityRequest)(nil), // 71: temporal.server.api.historyservice.v1.ResetActivityRequest
|
||||
(*PauseWorkflowExecutionRequest)(nil), // 72: temporal.server.api.historyservice.v1.PauseWorkflowExecutionRequest
|
||||
(*UnpauseWorkflowExecutionRequest)(nil), // 73: temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionRequest
|
||||
(*StartNexusOperationRequest)(nil), // 74: temporal.server.api.historyservice.v1.StartNexusOperationRequest
|
||||
(*CancelNexusOperationRequest)(nil), // 75: temporal.server.api.historyservice.v1.CancelNexusOperationRequest
|
||||
(*StartWorkflowExecutionResponse)(nil), // 76: temporal.server.api.historyservice.v1.StartWorkflowExecutionResponse
|
||||
(*GetMutableStateResponse)(nil), // 77: temporal.server.api.historyservice.v1.GetMutableStateResponse
|
||||
(*PollMutableStateResponse)(nil), // 78: temporal.server.api.historyservice.v1.PollMutableStateResponse
|
||||
(*ResetStickyTaskQueueResponse)(nil), // 79: temporal.server.api.historyservice.v1.ResetStickyTaskQueueResponse
|
||||
(*RecordWorkflowTaskStartedResponse)(nil), // 80: temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedResponse
|
||||
(*RecordActivityTaskStartedResponse)(nil), // 81: temporal.server.api.historyservice.v1.RecordActivityTaskStartedResponse
|
||||
(*RespondWorkflowTaskCompletedResponse)(nil), // 82: temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedResponse
|
||||
(*RespondWorkflowTaskFailedResponse)(nil), // 83: temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedResponse
|
||||
(*IsWorkflowTaskValidResponse)(nil), // 84: temporal.server.api.historyservice.v1.IsWorkflowTaskValidResponse
|
||||
(*RecordActivityTaskHeartbeatResponse)(nil), // 85: temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatResponse
|
||||
(*RespondActivityTaskCompletedResponse)(nil), // 86: temporal.server.api.historyservice.v1.RespondActivityTaskCompletedResponse
|
||||
(*RespondActivityTaskFailedResponse)(nil), // 87: temporal.server.api.historyservice.v1.RespondActivityTaskFailedResponse
|
||||
(*RespondActivityTaskCanceledResponse)(nil), // 88: temporal.server.api.historyservice.v1.RespondActivityTaskCanceledResponse
|
||||
(*IsActivityTaskValidResponse)(nil), // 89: temporal.server.api.historyservice.v1.IsActivityTaskValidResponse
|
||||
(*SignalWorkflowExecutionResponse)(nil), // 90: temporal.server.api.historyservice.v1.SignalWorkflowExecutionResponse
|
||||
(*SignalWithStartWorkflowExecutionResponse)(nil), // 91: temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionResponse
|
||||
(*ExecuteMultiOperationResponse)(nil), // 92: temporal.server.api.historyservice.v1.ExecuteMultiOperationResponse
|
||||
(*RemoveSignalMutableStateResponse)(nil), // 93: temporal.server.api.historyservice.v1.RemoveSignalMutableStateResponse
|
||||
(*TerminateWorkflowExecutionResponse)(nil), // 94: temporal.server.api.historyservice.v1.TerminateWorkflowExecutionResponse
|
||||
(*DeleteWorkflowExecutionResponse)(nil), // 95: temporal.server.api.historyservice.v1.DeleteWorkflowExecutionResponse
|
||||
(*ResetWorkflowExecutionResponse)(nil), // 96: temporal.server.api.historyservice.v1.ResetWorkflowExecutionResponse
|
||||
(*UpdateWorkflowExecutionOptionsResponse)(nil), // 97: temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsResponse
|
||||
(*RequestCancelWorkflowExecutionResponse)(nil), // 98: temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionResponse
|
||||
(*ScheduleWorkflowTaskResponse)(nil), // 99: temporal.server.api.historyservice.v1.ScheduleWorkflowTaskResponse
|
||||
(*VerifyFirstWorkflowTaskScheduledResponse)(nil), // 100: temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledResponse
|
||||
(*RecordChildExecutionCompletedResponse)(nil), // 101: temporal.server.api.historyservice.v1.RecordChildExecutionCompletedResponse
|
||||
(*VerifyChildExecutionCompletionRecordedResponse)(nil), // 102: temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedResponse
|
||||
(*DescribeWorkflowExecutionResponse)(nil), // 103: temporal.server.api.historyservice.v1.DescribeWorkflowExecutionResponse
|
||||
(*ReplicateEventsV2Response)(nil), // 104: temporal.server.api.historyservice.v1.ReplicateEventsV2Response
|
||||
(*ReplicateWorkflowStateResponse)(nil), // 105: temporal.server.api.historyservice.v1.ReplicateWorkflowStateResponse
|
||||
(*SyncShardStatusResponse)(nil), // 106: temporal.server.api.historyservice.v1.SyncShardStatusResponse
|
||||
(*SyncActivityResponse)(nil), // 107: temporal.server.api.historyservice.v1.SyncActivityResponse
|
||||
(*DescribeMutableStateResponse)(nil), // 108: temporal.server.api.historyservice.v1.DescribeMutableStateResponse
|
||||
(*DescribeHistoryHostResponse)(nil), // 109: temporal.server.api.historyservice.v1.DescribeHistoryHostResponse
|
||||
(*CloseShardResponse)(nil), // 110: temporal.server.api.historyservice.v1.CloseShardResponse
|
||||
(*GetShardResponse)(nil), // 111: temporal.server.api.historyservice.v1.GetShardResponse
|
||||
(*RemoveTaskResponse)(nil), // 112: temporal.server.api.historyservice.v1.RemoveTaskResponse
|
||||
(*GetReplicationMessagesResponse)(nil), // 113: temporal.server.api.historyservice.v1.GetReplicationMessagesResponse
|
||||
(*GetDLQReplicationMessagesResponse)(nil), // 114: temporal.server.api.historyservice.v1.GetDLQReplicationMessagesResponse
|
||||
(*QueryWorkflowResponse)(nil), // 115: temporal.server.api.historyservice.v1.QueryWorkflowResponse
|
||||
(*ReapplyEventsResponse)(nil), // 116: temporal.server.api.historyservice.v1.ReapplyEventsResponse
|
||||
(*GetDLQMessagesResponse)(nil), // 117: temporal.server.api.historyservice.v1.GetDLQMessagesResponse
|
||||
(*PurgeDLQMessagesResponse)(nil), // 118: temporal.server.api.historyservice.v1.PurgeDLQMessagesResponse
|
||||
(*MergeDLQMessagesResponse)(nil), // 119: temporal.server.api.historyservice.v1.MergeDLQMessagesResponse
|
||||
(*RefreshWorkflowTasksResponse)(nil), // 120: temporal.server.api.historyservice.v1.RefreshWorkflowTasksResponse
|
||||
(*GenerateLastHistoryReplicationTasksResponse)(nil), // 121: temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksResponse
|
||||
(*GetReplicationStatusResponse)(nil), // 122: temporal.server.api.historyservice.v1.GetReplicationStatusResponse
|
||||
(*RebuildMutableStateResponse)(nil), // 123: temporal.server.api.historyservice.v1.RebuildMutableStateResponse
|
||||
(*ImportWorkflowExecutionResponse)(nil), // 124: temporal.server.api.historyservice.v1.ImportWorkflowExecutionResponse
|
||||
(*DeleteWorkflowVisibilityRecordResponse)(nil), // 125: temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordResponse
|
||||
(*UpdateWorkflowExecutionResponse)(nil), // 126: temporal.server.api.historyservice.v1.UpdateWorkflowExecutionResponse
|
||||
(*PollWorkflowExecutionUpdateResponse)(nil), // 127: temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateResponse
|
||||
(*StreamWorkflowReplicationMessagesResponse)(nil), // 128: temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesResponse
|
||||
(*GetWorkflowExecutionHistoryResponse)(nil), // 129: temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryResponse
|
||||
(*GetWorkflowExecutionHistoryReverseResponse)(nil), // 130: temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseResponse
|
||||
(*GetWorkflowExecutionRawHistoryV2Response)(nil), // 131: temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Response
|
||||
(*GetWorkflowExecutionRawHistoryResponse)(nil), // 132: temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryResponse
|
||||
(*ForceDeleteWorkflowExecutionResponse)(nil), // 133: temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionResponse
|
||||
(*GetDLQTasksResponse)(nil), // 134: temporal.server.api.historyservice.v1.GetDLQTasksResponse
|
||||
(*DeleteDLQTasksResponse)(nil), // 135: temporal.server.api.historyservice.v1.DeleteDLQTasksResponse
|
||||
(*ListQueuesResponse)(nil), // 136: temporal.server.api.historyservice.v1.ListQueuesResponse
|
||||
(*AddTasksResponse)(nil), // 137: temporal.server.api.historyservice.v1.AddTasksResponse
|
||||
(*ListTasksResponse)(nil), // 138: temporal.server.api.historyservice.v1.ListTasksResponse
|
||||
(*CompleteNexusOperationResponse)(nil), // 139: temporal.server.api.historyservice.v1.CompleteNexusOperationResponse
|
||||
(*CompleteNexusOperationChasmResponse)(nil), // 140: temporal.server.api.historyservice.v1.CompleteNexusOperationChasmResponse
|
||||
(*InvokeStateMachineMethodResponse)(nil), // 141: temporal.server.api.historyservice.v1.InvokeStateMachineMethodResponse
|
||||
(*DeepHealthCheckResponse)(nil), // 142: temporal.server.api.historyservice.v1.DeepHealthCheckResponse
|
||||
(*SyncWorkflowStateResponse)(nil), // 143: temporal.server.api.historyservice.v1.SyncWorkflowStateResponse
|
||||
(*UpdateActivityOptionsResponse)(nil), // 144: temporal.server.api.historyservice.v1.UpdateActivityOptionsResponse
|
||||
(*PauseActivityResponse)(nil), // 145: temporal.server.api.historyservice.v1.PauseActivityResponse
|
||||
(*UnpauseActivityResponse)(nil), // 146: temporal.server.api.historyservice.v1.UnpauseActivityResponse
|
||||
(*ResetActivityResponse)(nil), // 147: temporal.server.api.historyservice.v1.ResetActivityResponse
|
||||
(*PauseWorkflowExecutionResponse)(nil), // 148: temporal.server.api.historyservice.v1.PauseWorkflowExecutionResponse
|
||||
(*UnpauseWorkflowExecutionResponse)(nil), // 149: temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionResponse
|
||||
(*StartNexusOperationResponse)(nil), // 150: temporal.server.api.historyservice.v1.StartNexusOperationResponse
|
||||
(*CancelNexusOperationResponse)(nil), // 151: temporal.server.api.historyservice.v1.CancelNexusOperationResponse
|
||||
}
|
||||
var file_temporal_server_api_historyservice_v1_service_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.historyservice.v1.HistoryService.StartWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.StartWorkflowExecutionRequest
|
||||
1, // 1: temporal.server.api.historyservice.v1.HistoryService.GetMutableState:input_type -> temporal.server.api.historyservice.v1.GetMutableStateRequest
|
||||
2, // 2: temporal.server.api.historyservice.v1.HistoryService.PollMutableState:input_type -> temporal.server.api.historyservice.v1.PollMutableStateRequest
|
||||
3, // 3: temporal.server.api.historyservice.v1.HistoryService.ResetStickyTaskQueue:input_type -> temporal.server.api.historyservice.v1.ResetStickyTaskQueueRequest
|
||||
4, // 4: temporal.server.api.historyservice.v1.HistoryService.RecordWorkflowTaskStarted:input_type -> temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedRequest
|
||||
5, // 5: temporal.server.api.historyservice.v1.HistoryService.RecordActivityTaskStarted:input_type -> temporal.server.api.historyservice.v1.RecordActivityTaskStartedRequest
|
||||
6, // 6: temporal.server.api.historyservice.v1.HistoryService.RespondWorkflowTaskCompleted:input_type -> temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedRequest
|
||||
7, // 7: temporal.server.api.historyservice.v1.HistoryService.RespondWorkflowTaskFailed:input_type -> temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedRequest
|
||||
8, // 8: temporal.server.api.historyservice.v1.HistoryService.IsWorkflowTaskValid:input_type -> temporal.server.api.historyservice.v1.IsWorkflowTaskValidRequest
|
||||
9, // 9: temporal.server.api.historyservice.v1.HistoryService.RecordActivityTaskHeartbeat:input_type -> temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatRequest
|
||||
10, // 10: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskCompleted:input_type -> temporal.server.api.historyservice.v1.RespondActivityTaskCompletedRequest
|
||||
11, // 11: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskFailed:input_type -> temporal.server.api.historyservice.v1.RespondActivityTaskFailedRequest
|
||||
12, // 12: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskCanceled:input_type -> temporal.server.api.historyservice.v1.RespondActivityTaskCanceledRequest
|
||||
13, // 13: temporal.server.api.historyservice.v1.HistoryService.IsActivityTaskValid:input_type -> temporal.server.api.historyservice.v1.IsActivityTaskValidRequest
|
||||
14, // 14: temporal.server.api.historyservice.v1.HistoryService.SignalWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.SignalWorkflowExecutionRequest
|
||||
15, // 15: temporal.server.api.historyservice.v1.HistoryService.SignalWithStartWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionRequest
|
||||
16, // 16: temporal.server.api.historyservice.v1.HistoryService.ExecuteMultiOperation:input_type -> temporal.server.api.historyservice.v1.ExecuteMultiOperationRequest
|
||||
17, // 17: temporal.server.api.historyservice.v1.HistoryService.RemoveSignalMutableState:input_type -> temporal.server.api.historyservice.v1.RemoveSignalMutableStateRequest
|
||||
18, // 18: temporal.server.api.historyservice.v1.HistoryService.TerminateWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.TerminateWorkflowExecutionRequest
|
||||
19, // 19: temporal.server.api.historyservice.v1.HistoryService.DeleteWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.DeleteWorkflowExecutionRequest
|
||||
20, // 20: temporal.server.api.historyservice.v1.HistoryService.ResetWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.ResetWorkflowExecutionRequest
|
||||
21, // 21: temporal.server.api.historyservice.v1.HistoryService.UpdateWorkflowExecutionOptions:input_type -> temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsRequest
|
||||
22, // 22: temporal.server.api.historyservice.v1.HistoryService.RequestCancelWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionRequest
|
||||
23, // 23: temporal.server.api.historyservice.v1.HistoryService.ScheduleWorkflowTask:input_type -> temporal.server.api.historyservice.v1.ScheduleWorkflowTaskRequest
|
||||
24, // 24: temporal.server.api.historyservice.v1.HistoryService.VerifyFirstWorkflowTaskScheduled:input_type -> temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledRequest
|
||||
25, // 25: temporal.server.api.historyservice.v1.HistoryService.RecordChildExecutionCompleted:input_type -> temporal.server.api.historyservice.v1.RecordChildExecutionCompletedRequest
|
||||
26, // 26: temporal.server.api.historyservice.v1.HistoryService.VerifyChildExecutionCompletionRecorded:input_type -> temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedRequest
|
||||
27, // 27: temporal.server.api.historyservice.v1.HistoryService.DescribeWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.DescribeWorkflowExecutionRequest
|
||||
28, // 28: temporal.server.api.historyservice.v1.HistoryService.ReplicateEventsV2:input_type -> temporal.server.api.historyservice.v1.ReplicateEventsV2Request
|
||||
29, // 29: temporal.server.api.historyservice.v1.HistoryService.ReplicateWorkflowState:input_type -> temporal.server.api.historyservice.v1.ReplicateWorkflowStateRequest
|
||||
30, // 30: temporal.server.api.historyservice.v1.HistoryService.SyncShardStatus:input_type -> temporal.server.api.historyservice.v1.SyncShardStatusRequest
|
||||
31, // 31: temporal.server.api.historyservice.v1.HistoryService.SyncActivity:input_type -> temporal.server.api.historyservice.v1.SyncActivityRequest
|
||||
32, // 32: temporal.server.api.historyservice.v1.HistoryService.DescribeMutableState:input_type -> temporal.server.api.historyservice.v1.DescribeMutableStateRequest
|
||||
33, // 33: temporal.server.api.historyservice.v1.HistoryService.DescribeHistoryHost:input_type -> temporal.server.api.historyservice.v1.DescribeHistoryHostRequest
|
||||
34, // 34: temporal.server.api.historyservice.v1.HistoryService.CloseShard:input_type -> temporal.server.api.historyservice.v1.CloseShardRequest
|
||||
35, // 35: temporal.server.api.historyservice.v1.HistoryService.GetShard:input_type -> temporal.server.api.historyservice.v1.GetShardRequest
|
||||
36, // 36: temporal.server.api.historyservice.v1.HistoryService.RemoveTask:input_type -> temporal.server.api.historyservice.v1.RemoveTaskRequest
|
||||
37, // 37: temporal.server.api.historyservice.v1.HistoryService.GetReplicationMessages:input_type -> temporal.server.api.historyservice.v1.GetReplicationMessagesRequest
|
||||
38, // 38: temporal.server.api.historyservice.v1.HistoryService.GetDLQReplicationMessages:input_type -> temporal.server.api.historyservice.v1.GetDLQReplicationMessagesRequest
|
||||
39, // 39: temporal.server.api.historyservice.v1.HistoryService.QueryWorkflow:input_type -> temporal.server.api.historyservice.v1.QueryWorkflowRequest
|
||||
40, // 40: temporal.server.api.historyservice.v1.HistoryService.ReapplyEvents:input_type -> temporal.server.api.historyservice.v1.ReapplyEventsRequest
|
||||
41, // 41: temporal.server.api.historyservice.v1.HistoryService.GetDLQMessages:input_type -> temporal.server.api.historyservice.v1.GetDLQMessagesRequest
|
||||
42, // 42: temporal.server.api.historyservice.v1.HistoryService.PurgeDLQMessages:input_type -> temporal.server.api.historyservice.v1.PurgeDLQMessagesRequest
|
||||
43, // 43: temporal.server.api.historyservice.v1.HistoryService.MergeDLQMessages:input_type -> temporal.server.api.historyservice.v1.MergeDLQMessagesRequest
|
||||
44, // 44: temporal.server.api.historyservice.v1.HistoryService.RefreshWorkflowTasks:input_type -> temporal.server.api.historyservice.v1.RefreshWorkflowTasksRequest
|
||||
45, // 45: temporal.server.api.historyservice.v1.HistoryService.GenerateLastHistoryReplicationTasks:input_type -> temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksRequest
|
||||
46, // 46: temporal.server.api.historyservice.v1.HistoryService.GetReplicationStatus:input_type -> temporal.server.api.historyservice.v1.GetReplicationStatusRequest
|
||||
47, // 47: temporal.server.api.historyservice.v1.HistoryService.RebuildMutableState:input_type -> temporal.server.api.historyservice.v1.RebuildMutableStateRequest
|
||||
48, // 48: temporal.server.api.historyservice.v1.HistoryService.ImportWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.ImportWorkflowExecutionRequest
|
||||
49, // 49: temporal.server.api.historyservice.v1.HistoryService.DeleteWorkflowVisibilityRecord:input_type -> temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordRequest
|
||||
50, // 50: temporal.server.api.historyservice.v1.HistoryService.UpdateWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.UpdateWorkflowExecutionRequest
|
||||
51, // 51: temporal.server.api.historyservice.v1.HistoryService.PollWorkflowExecutionUpdate:input_type -> temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateRequest
|
||||
52, // 52: temporal.server.api.historyservice.v1.HistoryService.StreamWorkflowReplicationMessages:input_type -> temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesRequest
|
||||
53, // 53: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionHistory:input_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryRequest
|
||||
54, // 54: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionHistoryReverse:input_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseRequest
|
||||
55, // 55: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionRawHistoryV2:input_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Request
|
||||
56, // 56: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionRawHistory:input_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryRequest
|
||||
57, // 57: temporal.server.api.historyservice.v1.HistoryService.ForceDeleteWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionRequest
|
||||
58, // 58: temporal.server.api.historyservice.v1.HistoryService.GetDLQTasks:input_type -> temporal.server.api.historyservice.v1.GetDLQTasksRequest
|
||||
59, // 59: temporal.server.api.historyservice.v1.HistoryService.DeleteDLQTasks:input_type -> temporal.server.api.historyservice.v1.DeleteDLQTasksRequest
|
||||
60, // 60: temporal.server.api.historyservice.v1.HistoryService.ListQueues:input_type -> temporal.server.api.historyservice.v1.ListQueuesRequest
|
||||
61, // 61: temporal.server.api.historyservice.v1.HistoryService.AddTasks:input_type -> temporal.server.api.historyservice.v1.AddTasksRequest
|
||||
62, // 62: temporal.server.api.historyservice.v1.HistoryService.ListTasks:input_type -> temporal.server.api.historyservice.v1.ListTasksRequest
|
||||
63, // 63: temporal.server.api.historyservice.v1.HistoryService.CompleteNexusOperation:input_type -> temporal.server.api.historyservice.v1.CompleteNexusOperationRequest
|
||||
64, // 64: temporal.server.api.historyservice.v1.HistoryService.CompleteNexusOperationChasm:input_type -> temporal.server.api.historyservice.v1.CompleteNexusOperationChasmRequest
|
||||
65, // 65: temporal.server.api.historyservice.v1.HistoryService.InvokeStateMachineMethod:input_type -> temporal.server.api.historyservice.v1.InvokeStateMachineMethodRequest
|
||||
66, // 66: temporal.server.api.historyservice.v1.HistoryService.DeepHealthCheck:input_type -> temporal.server.api.historyservice.v1.DeepHealthCheckRequest
|
||||
67, // 67: temporal.server.api.historyservice.v1.HistoryService.SyncWorkflowState:input_type -> temporal.server.api.historyservice.v1.SyncWorkflowStateRequest
|
||||
68, // 68: temporal.server.api.historyservice.v1.HistoryService.UpdateActivityOptions:input_type -> temporal.server.api.historyservice.v1.UpdateActivityOptionsRequest
|
||||
69, // 69: temporal.server.api.historyservice.v1.HistoryService.PauseActivity:input_type -> temporal.server.api.historyservice.v1.PauseActivityRequest
|
||||
70, // 70: temporal.server.api.historyservice.v1.HistoryService.UnpauseActivity:input_type -> temporal.server.api.historyservice.v1.UnpauseActivityRequest
|
||||
71, // 71: temporal.server.api.historyservice.v1.HistoryService.ResetActivity:input_type -> temporal.server.api.historyservice.v1.ResetActivityRequest
|
||||
72, // 72: temporal.server.api.historyservice.v1.HistoryService.PauseWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.PauseWorkflowExecutionRequest
|
||||
73, // 73: temporal.server.api.historyservice.v1.HistoryService.UnpauseWorkflowExecution:input_type -> temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionRequest
|
||||
74, // 74: temporal.server.api.historyservice.v1.HistoryService.StartNexusOperation:input_type -> temporal.server.api.historyservice.v1.StartNexusOperationRequest
|
||||
75, // 75: temporal.server.api.historyservice.v1.HistoryService.CancelNexusOperation:input_type -> temporal.server.api.historyservice.v1.CancelNexusOperationRequest
|
||||
76, // 76: temporal.server.api.historyservice.v1.HistoryService.StartWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.StartWorkflowExecutionResponse
|
||||
77, // 77: temporal.server.api.historyservice.v1.HistoryService.GetMutableState:output_type -> temporal.server.api.historyservice.v1.GetMutableStateResponse
|
||||
78, // 78: temporal.server.api.historyservice.v1.HistoryService.PollMutableState:output_type -> temporal.server.api.historyservice.v1.PollMutableStateResponse
|
||||
79, // 79: temporal.server.api.historyservice.v1.HistoryService.ResetStickyTaskQueue:output_type -> temporal.server.api.historyservice.v1.ResetStickyTaskQueueResponse
|
||||
80, // 80: temporal.server.api.historyservice.v1.HistoryService.RecordWorkflowTaskStarted:output_type -> temporal.server.api.historyservice.v1.RecordWorkflowTaskStartedResponse
|
||||
81, // 81: temporal.server.api.historyservice.v1.HistoryService.RecordActivityTaskStarted:output_type -> temporal.server.api.historyservice.v1.RecordActivityTaskStartedResponse
|
||||
82, // 82: temporal.server.api.historyservice.v1.HistoryService.RespondWorkflowTaskCompleted:output_type -> temporal.server.api.historyservice.v1.RespondWorkflowTaskCompletedResponse
|
||||
83, // 83: temporal.server.api.historyservice.v1.HistoryService.RespondWorkflowTaskFailed:output_type -> temporal.server.api.historyservice.v1.RespondWorkflowTaskFailedResponse
|
||||
84, // 84: temporal.server.api.historyservice.v1.HistoryService.IsWorkflowTaskValid:output_type -> temporal.server.api.historyservice.v1.IsWorkflowTaskValidResponse
|
||||
85, // 85: temporal.server.api.historyservice.v1.HistoryService.RecordActivityTaskHeartbeat:output_type -> temporal.server.api.historyservice.v1.RecordActivityTaskHeartbeatResponse
|
||||
86, // 86: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskCompleted:output_type -> temporal.server.api.historyservice.v1.RespondActivityTaskCompletedResponse
|
||||
87, // 87: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskFailed:output_type -> temporal.server.api.historyservice.v1.RespondActivityTaskFailedResponse
|
||||
88, // 88: temporal.server.api.historyservice.v1.HistoryService.RespondActivityTaskCanceled:output_type -> temporal.server.api.historyservice.v1.RespondActivityTaskCanceledResponse
|
||||
89, // 89: temporal.server.api.historyservice.v1.HistoryService.IsActivityTaskValid:output_type -> temporal.server.api.historyservice.v1.IsActivityTaskValidResponse
|
||||
90, // 90: temporal.server.api.historyservice.v1.HistoryService.SignalWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.SignalWorkflowExecutionResponse
|
||||
91, // 91: temporal.server.api.historyservice.v1.HistoryService.SignalWithStartWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.SignalWithStartWorkflowExecutionResponse
|
||||
92, // 92: temporal.server.api.historyservice.v1.HistoryService.ExecuteMultiOperation:output_type -> temporal.server.api.historyservice.v1.ExecuteMultiOperationResponse
|
||||
93, // 93: temporal.server.api.historyservice.v1.HistoryService.RemoveSignalMutableState:output_type -> temporal.server.api.historyservice.v1.RemoveSignalMutableStateResponse
|
||||
94, // 94: temporal.server.api.historyservice.v1.HistoryService.TerminateWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.TerminateWorkflowExecutionResponse
|
||||
95, // 95: temporal.server.api.historyservice.v1.HistoryService.DeleteWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.DeleteWorkflowExecutionResponse
|
||||
96, // 96: temporal.server.api.historyservice.v1.HistoryService.ResetWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.ResetWorkflowExecutionResponse
|
||||
97, // 97: temporal.server.api.historyservice.v1.HistoryService.UpdateWorkflowExecutionOptions:output_type -> temporal.server.api.historyservice.v1.UpdateWorkflowExecutionOptionsResponse
|
||||
98, // 98: temporal.server.api.historyservice.v1.HistoryService.RequestCancelWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.RequestCancelWorkflowExecutionResponse
|
||||
99, // 99: temporal.server.api.historyservice.v1.HistoryService.ScheduleWorkflowTask:output_type -> temporal.server.api.historyservice.v1.ScheduleWorkflowTaskResponse
|
||||
100, // 100: temporal.server.api.historyservice.v1.HistoryService.VerifyFirstWorkflowTaskScheduled:output_type -> temporal.server.api.historyservice.v1.VerifyFirstWorkflowTaskScheduledResponse
|
||||
101, // 101: temporal.server.api.historyservice.v1.HistoryService.RecordChildExecutionCompleted:output_type -> temporal.server.api.historyservice.v1.RecordChildExecutionCompletedResponse
|
||||
102, // 102: temporal.server.api.historyservice.v1.HistoryService.VerifyChildExecutionCompletionRecorded:output_type -> temporal.server.api.historyservice.v1.VerifyChildExecutionCompletionRecordedResponse
|
||||
103, // 103: temporal.server.api.historyservice.v1.HistoryService.DescribeWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.DescribeWorkflowExecutionResponse
|
||||
104, // 104: temporal.server.api.historyservice.v1.HistoryService.ReplicateEventsV2:output_type -> temporal.server.api.historyservice.v1.ReplicateEventsV2Response
|
||||
105, // 105: temporal.server.api.historyservice.v1.HistoryService.ReplicateWorkflowState:output_type -> temporal.server.api.historyservice.v1.ReplicateWorkflowStateResponse
|
||||
106, // 106: temporal.server.api.historyservice.v1.HistoryService.SyncShardStatus:output_type -> temporal.server.api.historyservice.v1.SyncShardStatusResponse
|
||||
107, // 107: temporal.server.api.historyservice.v1.HistoryService.SyncActivity:output_type -> temporal.server.api.historyservice.v1.SyncActivityResponse
|
||||
108, // 108: temporal.server.api.historyservice.v1.HistoryService.DescribeMutableState:output_type -> temporal.server.api.historyservice.v1.DescribeMutableStateResponse
|
||||
109, // 109: temporal.server.api.historyservice.v1.HistoryService.DescribeHistoryHost:output_type -> temporal.server.api.historyservice.v1.DescribeHistoryHostResponse
|
||||
110, // 110: temporal.server.api.historyservice.v1.HistoryService.CloseShard:output_type -> temporal.server.api.historyservice.v1.CloseShardResponse
|
||||
111, // 111: temporal.server.api.historyservice.v1.HistoryService.GetShard:output_type -> temporal.server.api.historyservice.v1.GetShardResponse
|
||||
112, // 112: temporal.server.api.historyservice.v1.HistoryService.RemoveTask:output_type -> temporal.server.api.historyservice.v1.RemoveTaskResponse
|
||||
113, // 113: temporal.server.api.historyservice.v1.HistoryService.GetReplicationMessages:output_type -> temporal.server.api.historyservice.v1.GetReplicationMessagesResponse
|
||||
114, // 114: temporal.server.api.historyservice.v1.HistoryService.GetDLQReplicationMessages:output_type -> temporal.server.api.historyservice.v1.GetDLQReplicationMessagesResponse
|
||||
115, // 115: temporal.server.api.historyservice.v1.HistoryService.QueryWorkflow:output_type -> temporal.server.api.historyservice.v1.QueryWorkflowResponse
|
||||
116, // 116: temporal.server.api.historyservice.v1.HistoryService.ReapplyEvents:output_type -> temporal.server.api.historyservice.v1.ReapplyEventsResponse
|
||||
117, // 117: temporal.server.api.historyservice.v1.HistoryService.GetDLQMessages:output_type -> temporal.server.api.historyservice.v1.GetDLQMessagesResponse
|
||||
118, // 118: temporal.server.api.historyservice.v1.HistoryService.PurgeDLQMessages:output_type -> temporal.server.api.historyservice.v1.PurgeDLQMessagesResponse
|
||||
119, // 119: temporal.server.api.historyservice.v1.HistoryService.MergeDLQMessages:output_type -> temporal.server.api.historyservice.v1.MergeDLQMessagesResponse
|
||||
120, // 120: temporal.server.api.historyservice.v1.HistoryService.RefreshWorkflowTasks:output_type -> temporal.server.api.historyservice.v1.RefreshWorkflowTasksResponse
|
||||
121, // 121: temporal.server.api.historyservice.v1.HistoryService.GenerateLastHistoryReplicationTasks:output_type -> temporal.server.api.historyservice.v1.GenerateLastHistoryReplicationTasksResponse
|
||||
122, // 122: temporal.server.api.historyservice.v1.HistoryService.GetReplicationStatus:output_type -> temporal.server.api.historyservice.v1.GetReplicationStatusResponse
|
||||
123, // 123: temporal.server.api.historyservice.v1.HistoryService.RebuildMutableState:output_type -> temporal.server.api.historyservice.v1.RebuildMutableStateResponse
|
||||
124, // 124: temporal.server.api.historyservice.v1.HistoryService.ImportWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.ImportWorkflowExecutionResponse
|
||||
125, // 125: temporal.server.api.historyservice.v1.HistoryService.DeleteWorkflowVisibilityRecord:output_type -> temporal.server.api.historyservice.v1.DeleteWorkflowVisibilityRecordResponse
|
||||
126, // 126: temporal.server.api.historyservice.v1.HistoryService.UpdateWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.UpdateWorkflowExecutionResponse
|
||||
127, // 127: temporal.server.api.historyservice.v1.HistoryService.PollWorkflowExecutionUpdate:output_type -> temporal.server.api.historyservice.v1.PollWorkflowExecutionUpdateResponse
|
||||
128, // 128: temporal.server.api.historyservice.v1.HistoryService.StreamWorkflowReplicationMessages:output_type -> temporal.server.api.historyservice.v1.StreamWorkflowReplicationMessagesResponse
|
||||
129, // 129: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionHistory:output_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryResponse
|
||||
130, // 130: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionHistoryReverse:output_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionHistoryReverseResponse
|
||||
131, // 131: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionRawHistoryV2:output_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryV2Response
|
||||
132, // 132: temporal.server.api.historyservice.v1.HistoryService.GetWorkflowExecutionRawHistory:output_type -> temporal.server.api.historyservice.v1.GetWorkflowExecutionRawHistoryResponse
|
||||
133, // 133: temporal.server.api.historyservice.v1.HistoryService.ForceDeleteWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.ForceDeleteWorkflowExecutionResponse
|
||||
134, // 134: temporal.server.api.historyservice.v1.HistoryService.GetDLQTasks:output_type -> temporal.server.api.historyservice.v1.GetDLQTasksResponse
|
||||
135, // 135: temporal.server.api.historyservice.v1.HistoryService.DeleteDLQTasks:output_type -> temporal.server.api.historyservice.v1.DeleteDLQTasksResponse
|
||||
136, // 136: temporal.server.api.historyservice.v1.HistoryService.ListQueues:output_type -> temporal.server.api.historyservice.v1.ListQueuesResponse
|
||||
137, // 137: temporal.server.api.historyservice.v1.HistoryService.AddTasks:output_type -> temporal.server.api.historyservice.v1.AddTasksResponse
|
||||
138, // 138: temporal.server.api.historyservice.v1.HistoryService.ListTasks:output_type -> temporal.server.api.historyservice.v1.ListTasksResponse
|
||||
139, // 139: temporal.server.api.historyservice.v1.HistoryService.CompleteNexusOperation:output_type -> temporal.server.api.historyservice.v1.CompleteNexusOperationResponse
|
||||
140, // 140: temporal.server.api.historyservice.v1.HistoryService.CompleteNexusOperationChasm:output_type -> temporal.server.api.historyservice.v1.CompleteNexusOperationChasmResponse
|
||||
141, // 141: temporal.server.api.historyservice.v1.HistoryService.InvokeStateMachineMethod:output_type -> temporal.server.api.historyservice.v1.InvokeStateMachineMethodResponse
|
||||
142, // 142: temporal.server.api.historyservice.v1.HistoryService.DeepHealthCheck:output_type -> temporal.server.api.historyservice.v1.DeepHealthCheckResponse
|
||||
143, // 143: temporal.server.api.historyservice.v1.HistoryService.SyncWorkflowState:output_type -> temporal.server.api.historyservice.v1.SyncWorkflowStateResponse
|
||||
144, // 144: temporal.server.api.historyservice.v1.HistoryService.UpdateActivityOptions:output_type -> temporal.server.api.historyservice.v1.UpdateActivityOptionsResponse
|
||||
145, // 145: temporal.server.api.historyservice.v1.HistoryService.PauseActivity:output_type -> temporal.server.api.historyservice.v1.PauseActivityResponse
|
||||
146, // 146: temporal.server.api.historyservice.v1.HistoryService.UnpauseActivity:output_type -> temporal.server.api.historyservice.v1.UnpauseActivityResponse
|
||||
147, // 147: temporal.server.api.historyservice.v1.HistoryService.ResetActivity:output_type -> temporal.server.api.historyservice.v1.ResetActivityResponse
|
||||
148, // 148: temporal.server.api.historyservice.v1.HistoryService.PauseWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.PauseWorkflowExecutionResponse
|
||||
149, // 149: temporal.server.api.historyservice.v1.HistoryService.UnpauseWorkflowExecution:output_type -> temporal.server.api.historyservice.v1.UnpauseWorkflowExecutionResponse
|
||||
150, // 150: temporal.server.api.historyservice.v1.HistoryService.StartNexusOperation:output_type -> temporal.server.api.historyservice.v1.StartNexusOperationResponse
|
||||
151, // 151: temporal.server.api.historyservice.v1.HistoryService.CancelNexusOperation:output_type -> temporal.server.api.historyservice.v1.CancelNexusOperationResponse
|
||||
76, // [76:152] is the sub-list for method output_type
|
||||
0, // [0:76] 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_server_api_historyservice_v1_service_proto_init() }
|
||||
func file_temporal_server_api_historyservice_v1_service_proto_init() {
|
||||
if File_temporal_server_api_historyservice_v1_service_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_historyservice_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_server_api_historyservice_v1_service_proto_rawDesc), len(file_temporal_server_api_historyservice_v1_service_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_historyservice_v1_service_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_historyservice_v1_service_proto_depIdxs,
|
||||
}.Build()
|
||||
File_temporal_server_api_historyservice_v1_service_proto = out.File
|
||||
file_temporal_server_api_historyservice_v1_service_proto_goTypes = nil
|
||||
file_temporal_server_api_historyservice_v1_service_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,10 +0,0 @@
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: api/historyservice/v1/service.pb.go
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package historyservicemock -source api/historyservice/v1/service.pb.go -destination api/historyservicemock/v1/service.pb.mock.go
|
||||
//
|
||||
|
||||
// Package historyservicemock is a generated GoMock package.
|
||||
package historyservicemock
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,264 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/matchingservice/v1/service.proto
|
||||
|
||||
package matchingservice
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
unsafe "unsafe"
|
||||
|
||||
_ "github.com/hanzoai/tasks/api/common/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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_server_api_matchingservice_v1_service_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_matchingservice_v1_service_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"4temporal/server/api/matchingservice/v1/service.proto\x12&temporal.server.api.matchingservice.v1\x1a=temporal/server/api/matchingservice/v1/request_response.proto\x1a0temporal/server/api/common/v1/api_category.proto2\xa38\n" +
|
||||
"\x0fMatchingService\x12\xac\x01\n" +
|
||||
"\x15PollWorkflowTaskQueue\x12D.temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueRequest\x1aE.temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xac\x01\n" +
|
||||
"\x15PollActivityTaskQueue\x12D.temporal.server.api.matchingservice.v1.PollActivityTaskQueueRequest\x1aE.temporal.server.api.matchingservice.v1.PollActivityTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\x9a\x01\n" +
|
||||
"\x0fAddWorkflowTask\x12>.temporal.server.api.matchingservice.v1.AddWorkflowTaskRequest\x1a?.temporal.server.api.matchingservice.v1.AddWorkflowTaskResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x9a\x01\n" +
|
||||
"\x0fAddActivityTask\x12>.temporal.server.api.matchingservice.v1.AddActivityTaskRequest\x1a?.temporal.server.api.matchingservice.v1.AddActivityTaskResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x94\x01\n" +
|
||||
"\rQueryWorkflow\x12<.temporal.server.api.matchingservice.v1.QueryWorkflowRequest\x1a=.temporal.server.api.matchingservice.v1.QueryWorkflowResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xb8\x01\n" +
|
||||
"\x19RespondQueryTaskCompleted\x12H.temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedRequest\x1aI.temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa0\x01\n" +
|
||||
"\x11DispatchNexusTask\x12@.temporal.server.api.matchingservice.v1.DispatchNexusTaskRequest\x1aA.temporal.server.api.matchingservice.v1.DispatchNexusTaskResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa3\x01\n" +
|
||||
"\x12PollNexusTaskQueue\x12A.temporal.server.api.matchingservice.v1.PollNexusTaskQueueRequest\x1aB.temporal.server.api.matchingservice.v1.PollNexusTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x02\x12\xb8\x01\n" +
|
||||
"\x19RespondNexusTaskCompleted\x12H.temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedRequest\x1aI.temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xaf\x01\n" +
|
||||
"\x16RespondNexusTaskFailed\x12E.temporal.server.api.matchingservice.v1.RespondNexusTaskFailedRequest\x1aF.temporal.server.api.matchingservice.v1.RespondNexusTaskFailedResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xac\x01\n" +
|
||||
"\x15CancelOutstandingPoll\x12D.temporal.server.api.matchingservice.v1.CancelOutstandingPollRequest\x1aE.temporal.server.api.matchingservice.v1.CancelOutstandingPollResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc1\x01\n" +
|
||||
"\x1cCancelOutstandingWorkerPolls\x12K.temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsRequest\x1aL.temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa0\x01\n" +
|
||||
"\x11DescribeTaskQueue\x12@.temporal.server.api.matchingservice.v1.DescribeTaskQueueRequest\x1aA.temporal.server.api.matchingservice.v1.DescribeTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbb\x01\n" +
|
||||
"\x1aDescribeTaskQueuePartition\x12I.temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionRequest\x1aJ.temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbe\x01\n" +
|
||||
"\x1bDescribeVersionedTaskQueues\x12J.temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesRequest\x1aK.temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb2\x01\n" +
|
||||
"\x17ListTaskQueuePartitions\x12F.temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsRequest\x1aG.temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xcd\x01\n" +
|
||||
" UpdateWorkerBuildIdCompatibility\x12O.temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aP.temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc4\x01\n" +
|
||||
"\x1dGetWorkerBuildIdCompatibility\x12L.temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityRequest\x1aM.temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa9\x01\n" +
|
||||
"\x14GetTaskQueueUserData\x12C.temporal.server.api.matchingservice.v1.GetTaskQueueUserDataRequest\x1aD.temporal.server.api.matchingservice.v1.GetTaskQueueUserDataResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbe\x01\n" +
|
||||
"\x1bUpdateWorkerVersioningRules\x12J.temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesRequest\x1aK.temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb5\x01\n" +
|
||||
"\x18GetWorkerVersioningRules\x12G.temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesRequest\x1aH.temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xaf\x01\n" +
|
||||
"\x16SyncDeploymentUserData\x12E.temporal.server.api.matchingservice.v1.SyncDeploymentUserDataRequest\x1aF.temporal.server.api.matchingservice.v1.SyncDeploymentUserDataResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xdf\x01\n" +
|
||||
"&ApplyTaskQueueUserDataReplicationEvent\x12U.temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventRequest\x1aV.temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbb\x01\n" +
|
||||
"\x1aGetBuildIdTaskQueueMapping\x12I.temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingRequest\x1aJ.temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbe\x01\n" +
|
||||
"\x1bForceLoadTaskQueuePartition\x12J.temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionRequest\x1aK.temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa9\x01\n" +
|
||||
"\x14ForceUnloadTaskQueue\x12C.temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueRequest\x1aD.temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xc4\x01\n" +
|
||||
"\x1dForceUnloadTaskQueuePartition\x12L.temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionRequest\x1aM.temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xb2\x01\n" +
|
||||
"\x17UpdateTaskQueueUserData\x12F.temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataRequest\x1aG.temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xbb\x01\n" +
|
||||
"\x1aReplicateTaskQueueUserData\x12I.temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataRequest\x1aJ.temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xd0\x01\n" +
|
||||
"!CheckTaskQueueUserDataPropagation\x12P.temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationRequest\x1aQ.temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa6\x01\n" +
|
||||
"\x13CreateNexusEndpoint\x12B.temporal.server.api.matchingservice.v1.CreateNexusEndpointRequest\x1aC.temporal.server.api.matchingservice.v1.CreateNexusEndpointResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa6\x01\n" +
|
||||
"\x13UpdateNexusEndpoint\x12B.temporal.server.api.matchingservice.v1.UpdateNexusEndpointRequest\x1aC.temporal.server.api.matchingservice.v1.UpdateNexusEndpointResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa6\x01\n" +
|
||||
"\x13DeleteNexusEndpoint\x12B.temporal.server.api.matchingservice.v1.DeleteNexusEndpointRequest\x1aC.temporal.server.api.matchingservice.v1.DeleteNexusEndpointResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa3\x01\n" +
|
||||
"\x12ListNexusEndpoints\x12A.temporal.server.api.matchingservice.v1.ListNexusEndpointsRequest\x1aB.temporal.server.api.matchingservice.v1.ListNexusEndpointsResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xac\x01\n" +
|
||||
"\x15RecordWorkerHeartbeat\x12D.temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatRequest\x1aE.temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x8e\x01\n" +
|
||||
"\vListWorkers\x12:.temporal.server.api.matchingservice.v1.ListWorkersRequest\x1a;.temporal.server.api.matchingservice.v1.ListWorkersResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xac\x01\n" +
|
||||
"\x15UpdateTaskQueueConfig\x12D.temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigRequest\x1aE.temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\x97\x01\n" +
|
||||
"\x0eDescribeWorker\x12=.temporal.server.api.matchingservice.v1.DescribeWorkerRequest\x1a>.temporal.server.api.matchingservice.v1.DescribeWorkerResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xa6\x01\n" +
|
||||
"\x13UpdateFairnessState\x12B.temporal.server.api.matchingservice.v1.UpdateFairnessStateRequest\x1aC.temporal.server.api.matchingservice.v1.UpdateFairnessStateResponse\"\x06\x8a\xb5\x18\x02\b\x01\x12\xca\x01\n" +
|
||||
"\x1fCheckTaskQueueVersionMembership\x12N.temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipRequest\x1aO.temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipResponse\"\x06\x8a\xb5\x18\x02\b\x01B>Z<go.temporal.io/server/api/matchingservice/v1;matchingserviceb\x06proto3"
|
||||
|
||||
var file_temporal_server_api_matchingservice_v1_service_proto_goTypes = []any{
|
||||
(*PollWorkflowTaskQueueRequest)(nil), // 0: temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueRequest
|
||||
(*PollActivityTaskQueueRequest)(nil), // 1: temporal.server.api.matchingservice.v1.PollActivityTaskQueueRequest
|
||||
(*AddWorkflowTaskRequest)(nil), // 2: temporal.server.api.matchingservice.v1.AddWorkflowTaskRequest
|
||||
(*AddActivityTaskRequest)(nil), // 3: temporal.server.api.matchingservice.v1.AddActivityTaskRequest
|
||||
(*QueryWorkflowRequest)(nil), // 4: temporal.server.api.matchingservice.v1.QueryWorkflowRequest
|
||||
(*RespondQueryTaskCompletedRequest)(nil), // 5: temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedRequest
|
||||
(*DispatchNexusTaskRequest)(nil), // 6: temporal.server.api.matchingservice.v1.DispatchNexusTaskRequest
|
||||
(*PollNexusTaskQueueRequest)(nil), // 7: temporal.server.api.matchingservice.v1.PollNexusTaskQueueRequest
|
||||
(*RespondNexusTaskCompletedRequest)(nil), // 8: temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedRequest
|
||||
(*RespondNexusTaskFailedRequest)(nil), // 9: temporal.server.api.matchingservice.v1.RespondNexusTaskFailedRequest
|
||||
(*CancelOutstandingPollRequest)(nil), // 10: temporal.server.api.matchingservice.v1.CancelOutstandingPollRequest
|
||||
(*CancelOutstandingWorkerPollsRequest)(nil), // 11: temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsRequest
|
||||
(*DescribeTaskQueueRequest)(nil), // 12: temporal.server.api.matchingservice.v1.DescribeTaskQueueRequest
|
||||
(*DescribeTaskQueuePartitionRequest)(nil), // 13: temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionRequest
|
||||
(*DescribeVersionedTaskQueuesRequest)(nil), // 14: temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesRequest
|
||||
(*ListTaskQueuePartitionsRequest)(nil), // 15: temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsRequest
|
||||
(*UpdateWorkerBuildIdCompatibilityRequest)(nil), // 16: temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest
|
||||
(*GetWorkerBuildIdCompatibilityRequest)(nil), // 17: temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityRequest
|
||||
(*GetTaskQueueUserDataRequest)(nil), // 18: temporal.server.api.matchingservice.v1.GetTaskQueueUserDataRequest
|
||||
(*UpdateWorkerVersioningRulesRequest)(nil), // 19: temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesRequest
|
||||
(*GetWorkerVersioningRulesRequest)(nil), // 20: temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesRequest
|
||||
(*SyncDeploymentUserDataRequest)(nil), // 21: temporal.server.api.matchingservice.v1.SyncDeploymentUserDataRequest
|
||||
(*ApplyTaskQueueUserDataReplicationEventRequest)(nil), // 22: temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventRequest
|
||||
(*GetBuildIdTaskQueueMappingRequest)(nil), // 23: temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingRequest
|
||||
(*ForceLoadTaskQueuePartitionRequest)(nil), // 24: temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionRequest
|
||||
(*ForceUnloadTaskQueueRequest)(nil), // 25: temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueRequest
|
||||
(*ForceUnloadTaskQueuePartitionRequest)(nil), // 26: temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionRequest
|
||||
(*UpdateTaskQueueUserDataRequest)(nil), // 27: temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataRequest
|
||||
(*ReplicateTaskQueueUserDataRequest)(nil), // 28: temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataRequest
|
||||
(*CheckTaskQueueUserDataPropagationRequest)(nil), // 29: temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationRequest
|
||||
(*CreateNexusEndpointRequest)(nil), // 30: temporal.server.api.matchingservice.v1.CreateNexusEndpointRequest
|
||||
(*UpdateNexusEndpointRequest)(nil), // 31: temporal.server.api.matchingservice.v1.UpdateNexusEndpointRequest
|
||||
(*DeleteNexusEndpointRequest)(nil), // 32: temporal.server.api.matchingservice.v1.DeleteNexusEndpointRequest
|
||||
(*ListNexusEndpointsRequest)(nil), // 33: temporal.server.api.matchingservice.v1.ListNexusEndpointsRequest
|
||||
(*RecordWorkerHeartbeatRequest)(nil), // 34: temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatRequest
|
||||
(*ListWorkersRequest)(nil), // 35: temporal.server.api.matchingservice.v1.ListWorkersRequest
|
||||
(*UpdateTaskQueueConfigRequest)(nil), // 36: temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigRequest
|
||||
(*DescribeWorkerRequest)(nil), // 37: temporal.server.api.matchingservice.v1.DescribeWorkerRequest
|
||||
(*UpdateFairnessStateRequest)(nil), // 38: temporal.server.api.matchingservice.v1.UpdateFairnessStateRequest
|
||||
(*CheckTaskQueueVersionMembershipRequest)(nil), // 39: temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipRequest
|
||||
(*PollWorkflowTaskQueueResponse)(nil), // 40: temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueResponse
|
||||
(*PollActivityTaskQueueResponse)(nil), // 41: temporal.server.api.matchingservice.v1.PollActivityTaskQueueResponse
|
||||
(*AddWorkflowTaskResponse)(nil), // 42: temporal.server.api.matchingservice.v1.AddWorkflowTaskResponse
|
||||
(*AddActivityTaskResponse)(nil), // 43: temporal.server.api.matchingservice.v1.AddActivityTaskResponse
|
||||
(*QueryWorkflowResponse)(nil), // 44: temporal.server.api.matchingservice.v1.QueryWorkflowResponse
|
||||
(*RespondQueryTaskCompletedResponse)(nil), // 45: temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedResponse
|
||||
(*DispatchNexusTaskResponse)(nil), // 46: temporal.server.api.matchingservice.v1.DispatchNexusTaskResponse
|
||||
(*PollNexusTaskQueueResponse)(nil), // 47: temporal.server.api.matchingservice.v1.PollNexusTaskQueueResponse
|
||||
(*RespondNexusTaskCompletedResponse)(nil), // 48: temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedResponse
|
||||
(*RespondNexusTaskFailedResponse)(nil), // 49: temporal.server.api.matchingservice.v1.RespondNexusTaskFailedResponse
|
||||
(*CancelOutstandingPollResponse)(nil), // 50: temporal.server.api.matchingservice.v1.CancelOutstandingPollResponse
|
||||
(*CancelOutstandingWorkerPollsResponse)(nil), // 51: temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsResponse
|
||||
(*DescribeTaskQueueResponse)(nil), // 52: temporal.server.api.matchingservice.v1.DescribeTaskQueueResponse
|
||||
(*DescribeTaskQueuePartitionResponse)(nil), // 53: temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionResponse
|
||||
(*DescribeVersionedTaskQueuesResponse)(nil), // 54: temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesResponse
|
||||
(*ListTaskQueuePartitionsResponse)(nil), // 55: temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsResponse
|
||||
(*UpdateWorkerBuildIdCompatibilityResponse)(nil), // 56: temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityResponse
|
||||
(*GetWorkerBuildIdCompatibilityResponse)(nil), // 57: temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityResponse
|
||||
(*GetTaskQueueUserDataResponse)(nil), // 58: temporal.server.api.matchingservice.v1.GetTaskQueueUserDataResponse
|
||||
(*UpdateWorkerVersioningRulesResponse)(nil), // 59: temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesResponse
|
||||
(*GetWorkerVersioningRulesResponse)(nil), // 60: temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesResponse
|
||||
(*SyncDeploymentUserDataResponse)(nil), // 61: temporal.server.api.matchingservice.v1.SyncDeploymentUserDataResponse
|
||||
(*ApplyTaskQueueUserDataReplicationEventResponse)(nil), // 62: temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventResponse
|
||||
(*GetBuildIdTaskQueueMappingResponse)(nil), // 63: temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingResponse
|
||||
(*ForceLoadTaskQueuePartitionResponse)(nil), // 64: temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionResponse
|
||||
(*ForceUnloadTaskQueueResponse)(nil), // 65: temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueResponse
|
||||
(*ForceUnloadTaskQueuePartitionResponse)(nil), // 66: temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionResponse
|
||||
(*UpdateTaskQueueUserDataResponse)(nil), // 67: temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataResponse
|
||||
(*ReplicateTaskQueueUserDataResponse)(nil), // 68: temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataResponse
|
||||
(*CheckTaskQueueUserDataPropagationResponse)(nil), // 69: temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationResponse
|
||||
(*CreateNexusEndpointResponse)(nil), // 70: temporal.server.api.matchingservice.v1.CreateNexusEndpointResponse
|
||||
(*UpdateNexusEndpointResponse)(nil), // 71: temporal.server.api.matchingservice.v1.UpdateNexusEndpointResponse
|
||||
(*DeleteNexusEndpointResponse)(nil), // 72: temporal.server.api.matchingservice.v1.DeleteNexusEndpointResponse
|
||||
(*ListNexusEndpointsResponse)(nil), // 73: temporal.server.api.matchingservice.v1.ListNexusEndpointsResponse
|
||||
(*RecordWorkerHeartbeatResponse)(nil), // 74: temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatResponse
|
||||
(*ListWorkersResponse)(nil), // 75: temporal.server.api.matchingservice.v1.ListWorkersResponse
|
||||
(*UpdateTaskQueueConfigResponse)(nil), // 76: temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigResponse
|
||||
(*DescribeWorkerResponse)(nil), // 77: temporal.server.api.matchingservice.v1.DescribeWorkerResponse
|
||||
(*UpdateFairnessStateResponse)(nil), // 78: temporal.server.api.matchingservice.v1.UpdateFairnessStateResponse
|
||||
(*CheckTaskQueueVersionMembershipResponse)(nil), // 79: temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipResponse
|
||||
}
|
||||
var file_temporal_server_api_matchingservice_v1_service_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.matchingservice.v1.MatchingService.PollWorkflowTaskQueue:input_type -> temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueRequest
|
||||
1, // 1: temporal.server.api.matchingservice.v1.MatchingService.PollActivityTaskQueue:input_type -> temporal.server.api.matchingservice.v1.PollActivityTaskQueueRequest
|
||||
2, // 2: temporal.server.api.matchingservice.v1.MatchingService.AddWorkflowTask:input_type -> temporal.server.api.matchingservice.v1.AddWorkflowTaskRequest
|
||||
3, // 3: temporal.server.api.matchingservice.v1.MatchingService.AddActivityTask:input_type -> temporal.server.api.matchingservice.v1.AddActivityTaskRequest
|
||||
4, // 4: temporal.server.api.matchingservice.v1.MatchingService.QueryWorkflow:input_type -> temporal.server.api.matchingservice.v1.QueryWorkflowRequest
|
||||
5, // 5: temporal.server.api.matchingservice.v1.MatchingService.RespondQueryTaskCompleted:input_type -> temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedRequest
|
||||
6, // 6: temporal.server.api.matchingservice.v1.MatchingService.DispatchNexusTask:input_type -> temporal.server.api.matchingservice.v1.DispatchNexusTaskRequest
|
||||
7, // 7: temporal.server.api.matchingservice.v1.MatchingService.PollNexusTaskQueue:input_type -> temporal.server.api.matchingservice.v1.PollNexusTaskQueueRequest
|
||||
8, // 8: temporal.server.api.matchingservice.v1.MatchingService.RespondNexusTaskCompleted:input_type -> temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedRequest
|
||||
9, // 9: temporal.server.api.matchingservice.v1.MatchingService.RespondNexusTaskFailed:input_type -> temporal.server.api.matchingservice.v1.RespondNexusTaskFailedRequest
|
||||
10, // 10: temporal.server.api.matchingservice.v1.MatchingService.CancelOutstandingPoll:input_type -> temporal.server.api.matchingservice.v1.CancelOutstandingPollRequest
|
||||
11, // 11: temporal.server.api.matchingservice.v1.MatchingService.CancelOutstandingWorkerPolls:input_type -> temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsRequest
|
||||
12, // 12: temporal.server.api.matchingservice.v1.MatchingService.DescribeTaskQueue:input_type -> temporal.server.api.matchingservice.v1.DescribeTaskQueueRequest
|
||||
13, // 13: temporal.server.api.matchingservice.v1.MatchingService.DescribeTaskQueuePartition:input_type -> temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionRequest
|
||||
14, // 14: temporal.server.api.matchingservice.v1.MatchingService.DescribeVersionedTaskQueues:input_type -> temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesRequest
|
||||
15, // 15: temporal.server.api.matchingservice.v1.MatchingService.ListTaskQueuePartitions:input_type -> temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsRequest
|
||||
16, // 16: temporal.server.api.matchingservice.v1.MatchingService.UpdateWorkerBuildIdCompatibility:input_type -> temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest
|
||||
17, // 17: temporal.server.api.matchingservice.v1.MatchingService.GetWorkerBuildIdCompatibility:input_type -> temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityRequest
|
||||
18, // 18: temporal.server.api.matchingservice.v1.MatchingService.GetTaskQueueUserData:input_type -> temporal.server.api.matchingservice.v1.GetTaskQueueUserDataRequest
|
||||
19, // 19: temporal.server.api.matchingservice.v1.MatchingService.UpdateWorkerVersioningRules:input_type -> temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesRequest
|
||||
20, // 20: temporal.server.api.matchingservice.v1.MatchingService.GetWorkerVersioningRules:input_type -> temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesRequest
|
||||
21, // 21: temporal.server.api.matchingservice.v1.MatchingService.SyncDeploymentUserData:input_type -> temporal.server.api.matchingservice.v1.SyncDeploymentUserDataRequest
|
||||
22, // 22: temporal.server.api.matchingservice.v1.MatchingService.ApplyTaskQueueUserDataReplicationEvent:input_type -> temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventRequest
|
||||
23, // 23: temporal.server.api.matchingservice.v1.MatchingService.GetBuildIdTaskQueueMapping:input_type -> temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingRequest
|
||||
24, // 24: temporal.server.api.matchingservice.v1.MatchingService.ForceLoadTaskQueuePartition:input_type -> temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionRequest
|
||||
25, // 25: temporal.server.api.matchingservice.v1.MatchingService.ForceUnloadTaskQueue:input_type -> temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueRequest
|
||||
26, // 26: temporal.server.api.matchingservice.v1.MatchingService.ForceUnloadTaskQueuePartition:input_type -> temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionRequest
|
||||
27, // 27: temporal.server.api.matchingservice.v1.MatchingService.UpdateTaskQueueUserData:input_type -> temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataRequest
|
||||
28, // 28: temporal.server.api.matchingservice.v1.MatchingService.ReplicateTaskQueueUserData:input_type -> temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataRequest
|
||||
29, // 29: temporal.server.api.matchingservice.v1.MatchingService.CheckTaskQueueUserDataPropagation:input_type -> temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationRequest
|
||||
30, // 30: temporal.server.api.matchingservice.v1.MatchingService.CreateNexusEndpoint:input_type -> temporal.server.api.matchingservice.v1.CreateNexusEndpointRequest
|
||||
31, // 31: temporal.server.api.matchingservice.v1.MatchingService.UpdateNexusEndpoint:input_type -> temporal.server.api.matchingservice.v1.UpdateNexusEndpointRequest
|
||||
32, // 32: temporal.server.api.matchingservice.v1.MatchingService.DeleteNexusEndpoint:input_type -> temporal.server.api.matchingservice.v1.DeleteNexusEndpointRequest
|
||||
33, // 33: temporal.server.api.matchingservice.v1.MatchingService.ListNexusEndpoints:input_type -> temporal.server.api.matchingservice.v1.ListNexusEndpointsRequest
|
||||
34, // 34: temporal.server.api.matchingservice.v1.MatchingService.RecordWorkerHeartbeat:input_type -> temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatRequest
|
||||
35, // 35: temporal.server.api.matchingservice.v1.MatchingService.ListWorkers:input_type -> temporal.server.api.matchingservice.v1.ListWorkersRequest
|
||||
36, // 36: temporal.server.api.matchingservice.v1.MatchingService.UpdateTaskQueueConfig:input_type -> temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigRequest
|
||||
37, // 37: temporal.server.api.matchingservice.v1.MatchingService.DescribeWorker:input_type -> temporal.server.api.matchingservice.v1.DescribeWorkerRequest
|
||||
38, // 38: temporal.server.api.matchingservice.v1.MatchingService.UpdateFairnessState:input_type -> temporal.server.api.matchingservice.v1.UpdateFairnessStateRequest
|
||||
39, // 39: temporal.server.api.matchingservice.v1.MatchingService.CheckTaskQueueVersionMembership:input_type -> temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipRequest
|
||||
40, // 40: temporal.server.api.matchingservice.v1.MatchingService.PollWorkflowTaskQueue:output_type -> temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueResponse
|
||||
41, // 41: temporal.server.api.matchingservice.v1.MatchingService.PollActivityTaskQueue:output_type -> temporal.server.api.matchingservice.v1.PollActivityTaskQueueResponse
|
||||
42, // 42: temporal.server.api.matchingservice.v1.MatchingService.AddWorkflowTask:output_type -> temporal.server.api.matchingservice.v1.AddWorkflowTaskResponse
|
||||
43, // 43: temporal.server.api.matchingservice.v1.MatchingService.AddActivityTask:output_type -> temporal.server.api.matchingservice.v1.AddActivityTaskResponse
|
||||
44, // 44: temporal.server.api.matchingservice.v1.MatchingService.QueryWorkflow:output_type -> temporal.server.api.matchingservice.v1.QueryWorkflowResponse
|
||||
45, // 45: temporal.server.api.matchingservice.v1.MatchingService.RespondQueryTaskCompleted:output_type -> temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedResponse
|
||||
46, // 46: temporal.server.api.matchingservice.v1.MatchingService.DispatchNexusTask:output_type -> temporal.server.api.matchingservice.v1.DispatchNexusTaskResponse
|
||||
47, // 47: temporal.server.api.matchingservice.v1.MatchingService.PollNexusTaskQueue:output_type -> temporal.server.api.matchingservice.v1.PollNexusTaskQueueResponse
|
||||
48, // 48: temporal.server.api.matchingservice.v1.MatchingService.RespondNexusTaskCompleted:output_type -> temporal.server.api.matchingservice.v1.RespondNexusTaskCompletedResponse
|
||||
49, // 49: temporal.server.api.matchingservice.v1.MatchingService.RespondNexusTaskFailed:output_type -> temporal.server.api.matchingservice.v1.RespondNexusTaskFailedResponse
|
||||
50, // 50: temporal.server.api.matchingservice.v1.MatchingService.CancelOutstandingPoll:output_type -> temporal.server.api.matchingservice.v1.CancelOutstandingPollResponse
|
||||
51, // 51: temporal.server.api.matchingservice.v1.MatchingService.CancelOutstandingWorkerPolls:output_type -> temporal.server.api.matchingservice.v1.CancelOutstandingWorkerPollsResponse
|
||||
52, // 52: temporal.server.api.matchingservice.v1.MatchingService.DescribeTaskQueue:output_type -> temporal.server.api.matchingservice.v1.DescribeTaskQueueResponse
|
||||
53, // 53: temporal.server.api.matchingservice.v1.MatchingService.DescribeTaskQueuePartition:output_type -> temporal.server.api.matchingservice.v1.DescribeTaskQueuePartitionResponse
|
||||
54, // 54: temporal.server.api.matchingservice.v1.MatchingService.DescribeVersionedTaskQueues:output_type -> temporal.server.api.matchingservice.v1.DescribeVersionedTaskQueuesResponse
|
||||
55, // 55: temporal.server.api.matchingservice.v1.MatchingService.ListTaskQueuePartitions:output_type -> temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsResponse
|
||||
56, // 56: temporal.server.api.matchingservice.v1.MatchingService.UpdateWorkerBuildIdCompatibility:output_type -> temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityResponse
|
||||
57, // 57: temporal.server.api.matchingservice.v1.MatchingService.GetWorkerBuildIdCompatibility:output_type -> temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityResponse
|
||||
58, // 58: temporal.server.api.matchingservice.v1.MatchingService.GetTaskQueueUserData:output_type -> temporal.server.api.matchingservice.v1.GetTaskQueueUserDataResponse
|
||||
59, // 59: temporal.server.api.matchingservice.v1.MatchingService.UpdateWorkerVersioningRules:output_type -> temporal.server.api.matchingservice.v1.UpdateWorkerVersioningRulesResponse
|
||||
60, // 60: temporal.server.api.matchingservice.v1.MatchingService.GetWorkerVersioningRules:output_type -> temporal.server.api.matchingservice.v1.GetWorkerVersioningRulesResponse
|
||||
61, // 61: temporal.server.api.matchingservice.v1.MatchingService.SyncDeploymentUserData:output_type -> temporal.server.api.matchingservice.v1.SyncDeploymentUserDataResponse
|
||||
62, // 62: temporal.server.api.matchingservice.v1.MatchingService.ApplyTaskQueueUserDataReplicationEvent:output_type -> temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventResponse
|
||||
63, // 63: temporal.server.api.matchingservice.v1.MatchingService.GetBuildIdTaskQueueMapping:output_type -> temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingResponse
|
||||
64, // 64: temporal.server.api.matchingservice.v1.MatchingService.ForceLoadTaskQueuePartition:output_type -> temporal.server.api.matchingservice.v1.ForceLoadTaskQueuePartitionResponse
|
||||
65, // 65: temporal.server.api.matchingservice.v1.MatchingService.ForceUnloadTaskQueue:output_type -> temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueResponse
|
||||
66, // 66: temporal.server.api.matchingservice.v1.MatchingService.ForceUnloadTaskQueuePartition:output_type -> temporal.server.api.matchingservice.v1.ForceUnloadTaskQueuePartitionResponse
|
||||
67, // 67: temporal.server.api.matchingservice.v1.MatchingService.UpdateTaskQueueUserData:output_type -> temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataResponse
|
||||
68, // 68: temporal.server.api.matchingservice.v1.MatchingService.ReplicateTaskQueueUserData:output_type -> temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataResponse
|
||||
69, // 69: temporal.server.api.matchingservice.v1.MatchingService.CheckTaskQueueUserDataPropagation:output_type -> temporal.server.api.matchingservice.v1.CheckTaskQueueUserDataPropagationResponse
|
||||
70, // 70: temporal.server.api.matchingservice.v1.MatchingService.CreateNexusEndpoint:output_type -> temporal.server.api.matchingservice.v1.CreateNexusEndpointResponse
|
||||
71, // 71: temporal.server.api.matchingservice.v1.MatchingService.UpdateNexusEndpoint:output_type -> temporal.server.api.matchingservice.v1.UpdateNexusEndpointResponse
|
||||
72, // 72: temporal.server.api.matchingservice.v1.MatchingService.DeleteNexusEndpoint:output_type -> temporal.server.api.matchingservice.v1.DeleteNexusEndpointResponse
|
||||
73, // 73: temporal.server.api.matchingservice.v1.MatchingService.ListNexusEndpoints:output_type -> temporal.server.api.matchingservice.v1.ListNexusEndpointsResponse
|
||||
74, // 74: temporal.server.api.matchingservice.v1.MatchingService.RecordWorkerHeartbeat:output_type -> temporal.server.api.matchingservice.v1.RecordWorkerHeartbeatResponse
|
||||
75, // 75: temporal.server.api.matchingservice.v1.MatchingService.ListWorkers:output_type -> temporal.server.api.matchingservice.v1.ListWorkersResponse
|
||||
76, // 76: temporal.server.api.matchingservice.v1.MatchingService.UpdateTaskQueueConfig:output_type -> temporal.server.api.matchingservice.v1.UpdateTaskQueueConfigResponse
|
||||
77, // 77: temporal.server.api.matchingservice.v1.MatchingService.DescribeWorker:output_type -> temporal.server.api.matchingservice.v1.DescribeWorkerResponse
|
||||
78, // 78: temporal.server.api.matchingservice.v1.MatchingService.UpdateFairnessState:output_type -> temporal.server.api.matchingservice.v1.UpdateFairnessStateResponse
|
||||
79, // 79: temporal.server.api.matchingservice.v1.MatchingService.CheckTaskQueueVersionMembership:output_type -> temporal.server.api.matchingservice.v1.CheckTaskQueueVersionMembershipResponse
|
||||
40, // [40:80] is the sub-list for method output_type
|
||||
0, // [0:40] 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_server_api_matchingservice_v1_service_proto_init() }
|
||||
func file_temporal_server_api_matchingservice_v1_service_proto_init() {
|
||||
if File_temporal_server_api_matchingservice_v1_service_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_matchingservice_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_server_api_matchingservice_v1_service_proto_rawDesc), len(file_temporal_server_api_matchingservice_v1_service_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_matchingservice_v1_service_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_matchingservice_v1_service_proto_depIdxs,
|
||||
}.Build()
|
||||
File_temporal_server_api_matchingservice_v1_service_proto = out.File
|
||||
file_temporal_server_api_matchingservice_v1_service_proto_goTypes = nil
|
||||
file_temporal_server_api_matchingservice_v1_service_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,10 +0,0 @@
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: api/matchingservice/v1/service.pb.go
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package matchingservicemock -source api/matchingservice/v1/service.pb.go -destination api/matchingservicemock/v1/service.pb.mock.go
|
||||
//
|
||||
|
||||
// Package matchingservicemock is a generated GoMock package.
|
||||
package matchingservicemock
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type Baggage to the protobuf v3 wire format
|
||||
func (val *Baggage) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type Baggage from the protobuf v3 wire format
|
||||
func (val *Baggage) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *Baggage) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two Baggage values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *Baggage) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *Baggage
|
||||
switch t := that.(type) {
|
||||
case *Baggage:
|
||||
that1 = t
|
||||
case Baggage:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,128 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/metrics/v1/message.proto
|
||||
|
||||
package metrics
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 Baggage struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CountersInt map[string]int64 `protobuf:"bytes,1,rep,name=counters_int,json=countersInt,proto3" json:"counters_int,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Baggage) Reset() {
|
||||
*x = Baggage{}
|
||||
mi := &file_temporal_server_api_metrics_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *Baggage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Baggage) ProtoMessage() {}
|
||||
|
||||
func (x *Baggage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_metrics_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 Baggage.ProtoReflect.Descriptor instead.
|
||||
func (*Baggage) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_metrics_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *Baggage) GetCountersInt() map[string]int64 {
|
||||
if x != nil {
|
||||
return x.CountersInt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_metrics_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_metrics_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",temporal/server/api/metrics/v1/message.proto\x12\x1etemporal.server.api.metrics.v1\"\xa6\x01\n" +
|
||||
"\aBaggage\x12[\n" +
|
||||
"\fcounters_int\x18\x01 \x03(\v28.temporal.server.api.metrics.v1.Baggage.CountersIntEntryR\vcountersInt\x1a>\n" +
|
||||
"\x10CountersIntEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01B.Z,go.temporal.io/server/api/metrics/v1;metricsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_metrics_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_metrics_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_metrics_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_metrics_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_metrics_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_metrics_v1_message_proto_rawDesc), len(file_temporal_server_api_metrics_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_metrics_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_metrics_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_temporal_server_api_metrics_v1_message_proto_goTypes = []any{
|
||||
(*Baggage)(nil), // 0: temporal.server.api.metrics.v1.Baggage
|
||||
nil, // 1: temporal.server.api.metrics.v1.Baggage.CountersIntEntry
|
||||
}
|
||||
var file_temporal_server_api_metrics_v1_message_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.metrics.v1.Baggage.counters_int:type_name -> temporal.server.api.metrics.v1.Baggage.CountersIntEntry
|
||||
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_server_api_metrics_v1_message_proto_init() }
|
||||
func file_temporal_server_api_metrics_v1_message_proto_init() {
|
||||
if File_temporal_server_api_metrics_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_server_api_metrics_v1_message_proto_rawDesc), len(file_temporal_server_api_metrics_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_metrics_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_metrics_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_metrics_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_metrics_v1_message_proto = out.File
|
||||
file_temporal_server_api_metrics_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_metrics_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package namespace
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type NamespaceCacheInfo to the protobuf v3 wire format
|
||||
func (val *NamespaceCacheInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceCacheInfo from the protobuf v3 wire format
|
||||
func (val *NamespaceCacheInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceCacheInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceCacheInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceCacheInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceCacheInfo
|
||||
switch t := that.(type) {
|
||||
case *NamespaceCacheInfo:
|
||||
that1 = t
|
||||
case NamespaceCacheInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,138 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/namespace/v1/message.proto
|
||||
|
||||
package namespace
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 NamespaceCacheInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// (-- api-linter: core::0140::prepositions=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: "in" and "by" are needed here. --)
|
||||
ItemsInCacheByIdCount int64 `protobuf:"varint,1,opt,name=items_in_cache_by_id_count,json=itemsInCacheByIdCount,proto3" json:"items_in_cache_by_id_count,omitempty"`
|
||||
// (-- api-linter: core::0140::prepositions=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: "in" and "by" are needed here. --)
|
||||
ItemsInCacheByNameCount int64 `protobuf:"varint,2,opt,name=items_in_cache_by_name_count,json=itemsInCacheByNameCount,proto3" json:"items_in_cache_by_name_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NamespaceCacheInfo) Reset() {
|
||||
*x = NamespaceCacheInfo{}
|
||||
mi := &file_temporal_server_api_namespace_v1_message_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NamespaceCacheInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NamespaceCacheInfo) ProtoMessage() {}
|
||||
|
||||
func (x *NamespaceCacheInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_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 NamespaceCacheInfo.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceCacheInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_namespace_v1_message_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *NamespaceCacheInfo) GetItemsInCacheByIdCount() int64 {
|
||||
if x != nil {
|
||||
return x.ItemsInCacheByIdCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NamespaceCacheInfo) GetItemsInCacheByNameCount() int64 {
|
||||
if x != nil {
|
||||
return x.ItemsInCacheByNameCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_namespace_v1_message_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_namespace_v1_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
".temporal/server/api/namespace/v1/message.proto\x12 temporal.server.api.namespace.v1\"\x8e\x01\n" +
|
||||
"\x12NamespaceCacheInfo\x129\n" +
|
||||
"\x1aitems_in_cache_by_id_count\x18\x01 \x01(\x03R\x15itemsInCacheByIdCount\x12=\n" +
|
||||
"\x1citems_in_cache_by_name_count\x18\x02 \x01(\x03R\x17itemsInCacheByNameCountB2Z0go.temporal.io/server/api/namespace/v1;namespaceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_namespace_v1_message_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_namespace_v1_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_namespace_v1_message_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_namespace_v1_message_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_namespace_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_namespace_v1_message_proto_rawDesc), len(file_temporal_server_api_namespace_v1_message_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_namespace_v1_message_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_namespace_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_temporal_server_api_namespace_v1_message_proto_goTypes = []any{
|
||||
(*NamespaceCacheInfo)(nil), // 0: temporal.server.api.namespace.v1.NamespaceCacheInfo
|
||||
}
|
||||
var file_temporal_server_api_namespace_v1_message_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_server_api_namespace_v1_message_proto_init() }
|
||||
func file_temporal_server_api_namespace_v1_message_proto_init() {
|
||||
if File_temporal_server_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_server_api_namespace_v1_message_proto_rawDesc), len(file_temporal_server_api_namespace_v1_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_namespace_v1_message_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_namespace_v1_message_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_namespace_v1_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_namespace_v1_message_proto = out.File
|
||||
file_temporal_server_api_namespace_v1_message_proto_goTypes = nil
|
||||
file_temporal_server_api_namespace_v1_message_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,339 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type ChasmNode to the protobuf v3 wire format
|
||||
func (val *ChasmNode) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmNode from the protobuf v3 wire format
|
||||
func (val *ChasmNode) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmNode) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmNode values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmNode) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmNode
|
||||
switch t := that.(type) {
|
||||
case *ChasmNode:
|
||||
that1 = t
|
||||
case ChasmNode:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmNodeMetadata to the protobuf v3 wire format
|
||||
func (val *ChasmNodeMetadata) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmNodeMetadata from the protobuf v3 wire format
|
||||
func (val *ChasmNodeMetadata) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmNodeMetadata) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmNodeMetadata values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmNodeMetadata) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmNodeMetadata
|
||||
switch t := that.(type) {
|
||||
case *ChasmNodeMetadata:
|
||||
that1 = t
|
||||
case ChasmNodeMetadata:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmComponentAttributes to the protobuf v3 wire format
|
||||
func (val *ChasmComponentAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmComponentAttributes from the protobuf v3 wire format
|
||||
func (val *ChasmComponentAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmComponentAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmComponentAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmComponentAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmComponentAttributes
|
||||
switch t := that.(type) {
|
||||
case *ChasmComponentAttributes:
|
||||
that1 = t
|
||||
case ChasmComponentAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmDataAttributes to the protobuf v3 wire format
|
||||
func (val *ChasmDataAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmDataAttributes from the protobuf v3 wire format
|
||||
func (val *ChasmDataAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmDataAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmDataAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmDataAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmDataAttributes
|
||||
switch t := that.(type) {
|
||||
case *ChasmDataAttributes:
|
||||
that1 = t
|
||||
case ChasmDataAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmCollectionAttributes to the protobuf v3 wire format
|
||||
func (val *ChasmCollectionAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmCollectionAttributes from the protobuf v3 wire format
|
||||
func (val *ChasmCollectionAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmCollectionAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmCollectionAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmCollectionAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmCollectionAttributes
|
||||
switch t := that.(type) {
|
||||
case *ChasmCollectionAttributes:
|
||||
that1 = t
|
||||
case ChasmCollectionAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmPointerAttributes to the protobuf v3 wire format
|
||||
func (val *ChasmPointerAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmPointerAttributes from the protobuf v3 wire format
|
||||
func (val *ChasmPointerAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmPointerAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmPointerAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmPointerAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmPointerAttributes
|
||||
switch t := that.(type) {
|
||||
case *ChasmPointerAttributes:
|
||||
that1 = t
|
||||
case ChasmPointerAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmTaskInfo to the protobuf v3 wire format
|
||||
func (val *ChasmTaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmTaskInfo from the protobuf v3 wire format
|
||||
func (val *ChasmTaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmTaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmTaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmTaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmTaskInfo
|
||||
switch t := that.(type) {
|
||||
case *ChasmTaskInfo:
|
||||
that1 = t
|
||||
case ChasmTaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmComponentRef to the protobuf v3 wire format
|
||||
func (val *ChasmComponentRef) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmComponentRef from the protobuf v3 wire format
|
||||
func (val *ChasmComponentRef) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmComponentRef) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmComponentRef values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmComponentRef) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmComponentRef
|
||||
switch t := that.(type) {
|
||||
case *ChasmComponentRef:
|
||||
that1 = t
|
||||
case ChasmComponentRef:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmNexusCompletion to the protobuf v3 wire format
|
||||
func (val *ChasmNexusCompletion) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmNexusCompletion from the protobuf v3 wire format
|
||||
func (val *ChasmNexusCompletion) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmNexusCompletion) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmNexusCompletion values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmNexusCompletion) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmNexusCompletion
|
||||
switch t := that.(type) {
|
||||
case *ChasmNexusCompletion:
|
||||
that1 = t
|
||||
case ChasmNexusCompletion:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,954 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/chasm.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/common/v1"
|
||||
v11 "go.temporal.io/api/failure/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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 ChasmNode struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Metadata present for all nodes.
|
||||
Metadata *ChasmNodeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
||||
// User data for any type of node that stores it.
|
||||
Data *v1.DataBlob `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmNode) Reset() {
|
||||
*x = ChasmNode{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmNode) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmNode) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmNode) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmNode.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmNode) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ChasmNode) GetMetadata() *ChasmNodeMetadata {
|
||||
if x != nil {
|
||||
return x.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNode) GetData() *v1.DataBlob {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ChasmNodeMetadata struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Versioned transition when the node was instantiated.
|
||||
InitialVersionedTransition *VersionedTransition `protobuf:"bytes,1,opt,name=initial_versioned_transition,json=initialVersionedTransition,proto3" json:"initial_versioned_transition,omitempty"`
|
||||
// Versioned transition when the node was last updated.
|
||||
LastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,2,opt,name=last_update_versioned_transition,json=lastUpdateVersionedTransition,proto3" json:"last_update_versioned_transition,omitempty"`
|
||||
// Types that are valid to be assigned to Attributes:
|
||||
//
|
||||
// *ChasmNodeMetadata_ComponentAttributes
|
||||
// *ChasmNodeMetadata_DataAttributes
|
||||
// *ChasmNodeMetadata_CollectionAttributes
|
||||
// *ChasmNodeMetadata_PointerAttributes
|
||||
Attributes isChasmNodeMetadata_Attributes `protobuf_oneof:"attributes"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) Reset() {
|
||||
*x = ChasmNodeMetadata{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmNodeMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmNodeMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmNodeMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmNodeMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.InitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.LastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetAttributes() isChasmNodeMetadata_Attributes {
|
||||
if x != nil {
|
||||
return x.Attributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetComponentAttributes() *ChasmComponentAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*ChasmNodeMetadata_ComponentAttributes); ok {
|
||||
return x.ComponentAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetDataAttributes() *ChasmDataAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*ChasmNodeMetadata_DataAttributes); ok {
|
||||
return x.DataAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetCollectionAttributes() *ChasmCollectionAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*ChasmNodeMetadata_CollectionAttributes); ok {
|
||||
return x.CollectionAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNodeMetadata) GetPointerAttributes() *ChasmPointerAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*ChasmNodeMetadata_PointerAttributes); ok {
|
||||
return x.PointerAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isChasmNodeMetadata_Attributes interface {
|
||||
isChasmNodeMetadata_Attributes()
|
||||
}
|
||||
|
||||
type ChasmNodeMetadata_ComponentAttributes struct {
|
||||
ComponentAttributes *ChasmComponentAttributes `protobuf:"bytes,11,opt,name=component_attributes,json=componentAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ChasmNodeMetadata_DataAttributes struct {
|
||||
DataAttributes *ChasmDataAttributes `protobuf:"bytes,12,opt,name=data_attributes,json=dataAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ChasmNodeMetadata_CollectionAttributes struct {
|
||||
CollectionAttributes *ChasmCollectionAttributes `protobuf:"bytes,13,opt,name=collection_attributes,json=collectionAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ChasmNodeMetadata_PointerAttributes struct {
|
||||
PointerAttributes *ChasmPointerAttributes `protobuf:"bytes,14,opt,name=pointer_attributes,json=pointerAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ChasmNodeMetadata_ComponentAttributes) isChasmNodeMetadata_Attributes() {}
|
||||
|
||||
func (*ChasmNodeMetadata_DataAttributes) isChasmNodeMetadata_Attributes() {}
|
||||
|
||||
func (*ChasmNodeMetadata_CollectionAttributes) isChasmNodeMetadata_Attributes() {}
|
||||
|
||||
func (*ChasmNodeMetadata_PointerAttributes) isChasmNodeMetadata_Attributes() {}
|
||||
|
||||
type ChasmComponentAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Registered component's type ID.
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
TypeId uint32 `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
|
||||
// Tasks are in their insertion order,
|
||||
// i.e. by versioned transtion and versioned_transition_offset.
|
||||
SideEffectTasks []*ChasmComponentAttributes_Task `protobuf:"bytes,2,rep,name=side_effect_tasks,json=sideEffectTasks,proto3" json:"side_effect_tasks,omitempty"`
|
||||
// Tasks are ordered by their scheduled time, breaking ties by
|
||||
// versioned transition and versioned_transition_offset.
|
||||
PureTasks []*ChasmComponentAttributes_Task `protobuf:"bytes,3,rep,name=pure_tasks,json=pureTasks,proto3" json:"pure_tasks,omitempty"`
|
||||
// When true, this component ignores parent lifecycle validation.
|
||||
// Detached components can continue operating, accepting writes and executing
|
||||
// tasks, even when their parent is closed/terminated.
|
||||
Detached bool `protobuf:"varint,4,opt,name=detached,proto3" json:"detached,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) Reset() {
|
||||
*x = ChasmComponentAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmComponentAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmComponentAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmComponentAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmComponentAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) GetTypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.TypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) GetSideEffectTasks() []*ChasmComponentAttributes_Task {
|
||||
if x != nil {
|
||||
return x.SideEffectTasks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) GetPureTasks() []*ChasmComponentAttributes_Task {
|
||||
if x != nil {
|
||||
return x.PureTasks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes) GetDetached() bool {
|
||||
if x != nil {
|
||||
return x.Detached
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type ChasmDataAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmDataAttributes) Reset() {
|
||||
*x = ChasmDataAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmDataAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmDataAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmDataAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmDataAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmDataAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
type ChasmCollectionAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmCollectionAttributes) Reset() {
|
||||
*x = ChasmCollectionAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmCollectionAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmCollectionAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmCollectionAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmCollectionAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmCollectionAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
type ChasmPointerAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NodePath []string `protobuf:"bytes,1,rep,name=node_path,json=nodePath,proto3" json:"node_path,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmPointerAttributes) Reset() {
|
||||
*x = ChasmPointerAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmPointerAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmPointerAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmPointerAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmPointerAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmPointerAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ChasmPointerAttributes) GetNodePath() []string {
|
||||
if x != nil {
|
||||
return x.NodePath
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ChasmTaskInfo includes component-facing task metadata
|
||||
type ChasmTaskInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Initial versioned transition of the component being referenced.
|
||||
ComponentInitialVersionedTransition *VersionedTransition `protobuf:"bytes,1,opt,name=component_initial_versioned_transition,json=componentInitialVersionedTransition,proto3" json:"component_initial_versioned_transition,omitempty"`
|
||||
// Last updated transition of the component being referenced at the time the
|
||||
// reference was created. Can be used to invalidate this reference.
|
||||
ComponentLastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,2,opt,name=component_last_update_versioned_transition,json=componentLastUpdateVersionedTransition,proto3" json:"component_last_update_versioned_transition,omitempty"`
|
||||
// Path to the component.
|
||||
Path []string `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"`
|
||||
// Registered task's type ID.
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
TypeId uint32 `protobuf:"varint,4,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
|
||||
// Opaque attached task data. May be nil. Usable by components, not the CHASM
|
||||
// framework itself.
|
||||
Data *v1.DataBlob `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
|
||||
// ArchetypeID of the execution that generated this task.
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
ArchetypeId uint32 `protobuf:"varint,6,opt,name=archetype_id,json=archetypeId,proto3" json:"archetype_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) Reset() {
|
||||
*x = ChasmTaskInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmTaskInfo) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmTaskInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmTaskInfo.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmTaskInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetComponentInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.ComponentInitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetComponentLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.ComponentLastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetPath() []string {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetTypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.TypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetData() *v1.DataBlob {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmTaskInfo) GetArchetypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.ArchetypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// ChasmComponentRef references a specific chasm component.
|
||||
type ChasmComponentRef struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
BusinessId string `protobuf:"bytes,2,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
// Executions's root component's type ID.
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
ArchetypeId uint32 `protobuf:"varint,4,opt,name=archetype_id,json=archetypeId,proto3" json:"archetype_id,omitempty"`
|
||||
ExecutionVersionedTransition *VersionedTransition `protobuf:"bytes,5,opt,name=execution_versioned_transition,json=executionVersionedTransition,proto3" json:"execution_versioned_transition,omitempty"`
|
||||
ComponentPath []string `protobuf:"bytes,6,rep,name=component_path,json=componentPath,proto3" json:"component_path,omitempty"`
|
||||
ComponentInitialVersionedTransition *VersionedTransition `protobuf:"bytes,7,opt,name=component_initial_versioned_transition,json=componentInitialVersionedTransition,proto3" json:"component_initial_versioned_transition,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) Reset() {
|
||||
*x = ChasmComponentRef{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmComponentRef) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmComponentRef) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmComponentRef.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmComponentRef) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetBusinessId() string {
|
||||
if x != nil {
|
||||
return x.BusinessId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetArchetypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.ArchetypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetExecutionVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.ExecutionVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetComponentPath() []string {
|
||||
if x != nil {
|
||||
return x.ComponentPath
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentRef) GetComponentInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.ComponentInitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ChasmNexusCompletion includes details about a completed Nexus operation.
|
||||
type ChasmNexusCompletion struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to Outcome:
|
||||
//
|
||||
// *ChasmNexusCompletion_Success
|
||||
// *ChasmNexusCompletion_Failure
|
||||
Outcome isChasmNexusCompletion_Outcome `protobuf_oneof:"outcome"`
|
||||
// Time when the operation was closed.
|
||||
CloseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
|
||||
// Request ID embedded in the NexusOperationScheduledEvent.
|
||||
// Allows completing a started operation after a workflow has been reset.
|
||||
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) Reset() {
|
||||
*x = ChasmNexusCompletion{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmNexusCompletion) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmNexusCompletion) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmNexusCompletion.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmNexusCompletion) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) GetOutcome() isChasmNexusCompletion_Outcome {
|
||||
if x != nil {
|
||||
return x.Outcome
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) GetSuccess() *v1.Payload {
|
||||
if x != nil {
|
||||
if x, ok := x.Outcome.(*ChasmNexusCompletion_Success); ok {
|
||||
return x.Success
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) GetFailure() *v11.Failure {
|
||||
if x != nil {
|
||||
if x, ok := x.Outcome.(*ChasmNexusCompletion_Failure); ok {
|
||||
return x.Failure
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) GetCloseTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CloseTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmNexusCompletion) GetRequestId() string {
|
||||
if x != nil {
|
||||
return x.RequestId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isChasmNexusCompletion_Outcome interface {
|
||||
isChasmNexusCompletion_Outcome()
|
||||
}
|
||||
|
||||
type ChasmNexusCompletion_Success struct {
|
||||
// Result of a successful operation, only set if state == successful.
|
||||
Success *v1.Payload `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ChasmNexusCompletion_Failure struct {
|
||||
// Operation failure, only set if state != successful.
|
||||
Failure *v11.Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ChasmNexusCompletion_Success) isChasmNexusCompletion_Outcome() {}
|
||||
|
||||
func (*ChasmNexusCompletion_Failure) isChasmNexusCompletion_Outcome() {}
|
||||
|
||||
type ChasmComponentAttributes_Task struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Registered task's type ID.
|
||||
// (-- api-linter: core::0141::forbidden-types=disabled --)
|
||||
TypeId uint32 `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
|
||||
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
|
||||
ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"`
|
||||
Data *v1.DataBlob `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
|
||||
// Versioned transition of the execution when the task was created.
|
||||
VersionedTransition *VersionedTransition `protobuf:"bytes,5,opt,name=versioned_transition,json=versionedTransition,proto3" json:"versioned_transition,omitempty"`
|
||||
// The xth task generated in this versioned transition.
|
||||
// Together with the versioned transition, this is a unique identifier for
|
||||
// this task.
|
||||
VersionedTransitionOffset int64 `protobuf:"varint,6,opt,name=versioned_transition_offset,json=versionedTransitionOffset,proto3" json:"versioned_transition_offset,omitempty"`
|
||||
// If a physical task is created for this task in this cluster.
|
||||
// NOTE: this is a cluster-specific field and can not be replicated.
|
||||
// Changes to this field also doesn't require an increase in versioned transition.
|
||||
PhysicalTaskStatus int32 `protobuf:"varint,7,opt,name=physical_task_status,json=physicalTaskStatus,proto3" json:"physical_task_status,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) Reset() {
|
||||
*x = ChasmComponentAttributes_Task{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmComponentAttributes_Task) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_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 ChasmComponentAttributes_Task.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmComponentAttributes_Task) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP(), []int{2, 0}
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetTypeId() uint32 {
|
||||
if x != nil {
|
||||
return x.TypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetDestination() string {
|
||||
if x != nil {
|
||||
return x.Destination
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetScheduledTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.ScheduledTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetData() *v1.DataBlob {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.VersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetVersionedTransitionOffset() int64 {
|
||||
if x != nil {
|
||||
return x.VersionedTransitionOffset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChasmComponentAttributes_Task) GetPhysicalTaskStatus() int32 {
|
||||
if x != nil {
|
||||
return x.PhysicalTaskStatus
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_chasm_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_chasm_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
".temporal/server/api/persistence/v1/chasm.proto\x12\"temporal.server.api.persistence.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a,temporal/server/api/persistence/v1/hsm.proto\"\x94\x01\n" +
|
||||
"\tChasmNode\x12Q\n" +
|
||||
"\bmetadata\x18\x01 \x01(\v25.temporal.server.api.persistence.v1.ChasmNodeMetadataR\bmetadata\x124\n" +
|
||||
"\x04data\x18\x02 \x01(\v2 .temporal.api.common.v1.DataBlobR\x04data\"\xd9\x05\n" +
|
||||
"\x11ChasmNodeMetadata\x12y\n" +
|
||||
"\x1cinitial_versioned_transition\x18\x01 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1ainitialVersionedTransition\x12\x80\x01\n" +
|
||||
" last_update_versioned_transition\x18\x02 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1dlastUpdateVersionedTransition\x12q\n" +
|
||||
"\x14component_attributes\x18\v \x01(\v2<.temporal.server.api.persistence.v1.ChasmComponentAttributesH\x00R\x13componentAttributes\x12b\n" +
|
||||
"\x0fdata_attributes\x18\f \x01(\v27.temporal.server.api.persistence.v1.ChasmDataAttributesH\x00R\x0edataAttributes\x12t\n" +
|
||||
"\x15collection_attributes\x18\r \x01(\v2=.temporal.server.api.persistence.v1.ChasmCollectionAttributesH\x00R\x14collectionAttributes\x12k\n" +
|
||||
"\x12pointer_attributes\x18\x0e \x01(\v2:.temporal.server.api.persistence.v1.ChasmPointerAttributesH\x00R\x11pointerAttributesB\f\n" +
|
||||
"\n" +
|
||||
"attributes\"\xbb\x05\n" +
|
||||
"\x18ChasmComponentAttributes\x12\x17\n" +
|
||||
"\atype_id\x18\x01 \x01(\rR\x06typeId\x12m\n" +
|
||||
"\x11side_effect_tasks\x18\x02 \x03(\v2A.temporal.server.api.persistence.v1.ChasmComponentAttributes.TaskR\x0fsideEffectTasks\x12`\n" +
|
||||
"\n" +
|
||||
"pure_tasks\x18\x03 \x03(\v2A.temporal.server.api.persistence.v1.ChasmComponentAttributes.TaskR\tpureTasks\x12\x1a\n" +
|
||||
"\bdetached\x18\x04 \x01(\bR\bdetached\x1a\x98\x03\n" +
|
||||
"\x04Task\x12\x17\n" +
|
||||
"\atype_id\x18\x01 \x01(\rR\x06typeId\x12 \n" +
|
||||
"\vdestination\x18\x02 \x01(\tR\vdestination\x12A\n" +
|
||||
"\x0escheduled_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x124\n" +
|
||||
"\x04data\x18\x04 \x01(\v2 .temporal.api.common.v1.DataBlobR\x04data\x12j\n" +
|
||||
"\x14versioned_transition\x18\x05 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x13versionedTransition\x12>\n" +
|
||||
"\x1bversioned_transition_offset\x18\x06 \x01(\x03R\x19versionedTransitionOffset\x120\n" +
|
||||
"\x14physical_task_status\x18\a \x01(\x05R\x12physicalTaskStatus\"\x15\n" +
|
||||
"\x13ChasmDataAttributes\"\x1b\n" +
|
||||
"\x19ChasmCollectionAttributes\"5\n" +
|
||||
"\x16ChasmPointerAttributes\x12\x1b\n" +
|
||||
"\tnode_path\x18\x01 \x03(\tR\bnodePath\"\xba\x03\n" +
|
||||
"\rChasmTaskInfo\x12\x8c\x01\n" +
|
||||
"&component_initial_versioned_transition\x18\x01 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR#componentInitialVersionedTransition\x12\x93\x01\n" +
|
||||
"*component_last_update_versioned_transition\x18\x02 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR&componentLastUpdateVersionedTransition\x12\x12\n" +
|
||||
"\x04path\x18\x03 \x03(\tR\x04path\x12\x17\n" +
|
||||
"\atype_id\x18\x04 \x01(\rR\x06typeId\x124\n" +
|
||||
"\x04data\x18\x05 \x01(\v2 .temporal.api.common.v1.DataBlobR\x04data\x12!\n" +
|
||||
"\farchetype_id\x18\x06 \x01(\rR\varchetypeId\"\xc6\x03\n" +
|
||||
"\x11ChasmComponentRef\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x1f\n" +
|
||||
"\vbusiness_id\x18\x02 \x01(\tR\n" +
|
||||
"businessId\x12\x15\n" +
|
||||
"\x06run_id\x18\x03 \x01(\tR\x05runId\x12!\n" +
|
||||
"\farchetype_id\x18\x04 \x01(\rR\varchetypeId\x12}\n" +
|
||||
"\x1eexecution_versioned_transition\x18\x05 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1cexecutionVersionedTransition\x12%\n" +
|
||||
"\x0ecomponent_path\x18\x06 \x03(\tR\rcomponentPath\x12\x8c\x01\n" +
|
||||
"&component_initial_versioned_transition\x18\a \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR#componentInitialVersionedTransition\"\xf6\x01\n" +
|
||||
"\x14ChasmNexusCompletion\x12;\n" +
|
||||
"\asuccess\x18\x01 \x01(\v2\x1f.temporal.api.common.v1.PayloadH\x00R\asuccess\x12<\n" +
|
||||
"\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureH\x00R\afailure\x129\n" +
|
||||
"\n" +
|
||||
"close_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x12\x1d\n" +
|
||||
"\n" +
|
||||
"request_id\x18\x04 \x01(\tR\trequestIdB\t\n" +
|
||||
"\aoutcomeB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_chasm_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_chasm_proto_rawDesc), len(file_temporal_server_api_persistence_v1_chasm_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_chasm_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_chasm_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_temporal_server_api_persistence_v1_chasm_proto_goTypes = []any{
|
||||
(*ChasmNode)(nil), // 0: temporal.server.api.persistence.v1.ChasmNode
|
||||
(*ChasmNodeMetadata)(nil), // 1: temporal.server.api.persistence.v1.ChasmNodeMetadata
|
||||
(*ChasmComponentAttributes)(nil), // 2: temporal.server.api.persistence.v1.ChasmComponentAttributes
|
||||
(*ChasmDataAttributes)(nil), // 3: temporal.server.api.persistence.v1.ChasmDataAttributes
|
||||
(*ChasmCollectionAttributes)(nil), // 4: temporal.server.api.persistence.v1.ChasmCollectionAttributes
|
||||
(*ChasmPointerAttributes)(nil), // 5: temporal.server.api.persistence.v1.ChasmPointerAttributes
|
||||
(*ChasmTaskInfo)(nil), // 6: temporal.server.api.persistence.v1.ChasmTaskInfo
|
||||
(*ChasmComponentRef)(nil), // 7: temporal.server.api.persistence.v1.ChasmComponentRef
|
||||
(*ChasmNexusCompletion)(nil), // 8: temporal.server.api.persistence.v1.ChasmNexusCompletion
|
||||
(*ChasmComponentAttributes_Task)(nil), // 9: temporal.server.api.persistence.v1.ChasmComponentAttributes.Task
|
||||
(*v1.DataBlob)(nil), // 10: temporal.api.common.v1.DataBlob
|
||||
(*VersionedTransition)(nil), // 11: temporal.server.api.persistence.v1.VersionedTransition
|
||||
(*v1.Payload)(nil), // 12: temporal.api.common.v1.Payload
|
||||
(*v11.Failure)(nil), // 13: temporal.api.failure.v1.Failure
|
||||
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_chasm_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.persistence.v1.ChasmNode.metadata:type_name -> temporal.server.api.persistence.v1.ChasmNodeMetadata
|
||||
10, // 1: temporal.server.api.persistence.v1.ChasmNode.data:type_name -> temporal.api.common.v1.DataBlob
|
||||
11, // 2: temporal.server.api.persistence.v1.ChasmNodeMetadata.initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
11, // 3: temporal.server.api.persistence.v1.ChasmNodeMetadata.last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
2, // 4: temporal.server.api.persistence.v1.ChasmNodeMetadata.component_attributes:type_name -> temporal.server.api.persistence.v1.ChasmComponentAttributes
|
||||
3, // 5: temporal.server.api.persistence.v1.ChasmNodeMetadata.data_attributes:type_name -> temporal.server.api.persistence.v1.ChasmDataAttributes
|
||||
4, // 6: temporal.server.api.persistence.v1.ChasmNodeMetadata.collection_attributes:type_name -> temporal.server.api.persistence.v1.ChasmCollectionAttributes
|
||||
5, // 7: temporal.server.api.persistence.v1.ChasmNodeMetadata.pointer_attributes:type_name -> temporal.server.api.persistence.v1.ChasmPointerAttributes
|
||||
9, // 8: temporal.server.api.persistence.v1.ChasmComponentAttributes.side_effect_tasks:type_name -> temporal.server.api.persistence.v1.ChasmComponentAttributes.Task
|
||||
9, // 9: temporal.server.api.persistence.v1.ChasmComponentAttributes.pure_tasks:type_name -> temporal.server.api.persistence.v1.ChasmComponentAttributes.Task
|
||||
11, // 10: temporal.server.api.persistence.v1.ChasmTaskInfo.component_initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
11, // 11: temporal.server.api.persistence.v1.ChasmTaskInfo.component_last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
10, // 12: temporal.server.api.persistence.v1.ChasmTaskInfo.data:type_name -> temporal.api.common.v1.DataBlob
|
||||
11, // 13: temporal.server.api.persistence.v1.ChasmComponentRef.execution_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
11, // 14: temporal.server.api.persistence.v1.ChasmComponentRef.component_initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
12, // 15: temporal.server.api.persistence.v1.ChasmNexusCompletion.success:type_name -> temporal.api.common.v1.Payload
|
||||
13, // 16: temporal.server.api.persistence.v1.ChasmNexusCompletion.failure:type_name -> temporal.api.failure.v1.Failure
|
||||
14, // 17: temporal.server.api.persistence.v1.ChasmNexusCompletion.close_time:type_name -> google.protobuf.Timestamp
|
||||
14, // 18: temporal.server.api.persistence.v1.ChasmComponentAttributes.Task.scheduled_time:type_name -> google.protobuf.Timestamp
|
||||
10, // 19: temporal.server.api.persistence.v1.ChasmComponentAttributes.Task.data:type_name -> temporal.api.common.v1.DataBlob
|
||||
11, // 20: temporal.server.api.persistence.v1.ChasmComponentAttributes.Task.versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
21, // [21:21] is the sub-list for method output_type
|
||||
21, // [21:21] is the sub-list for method input_type
|
||||
21, // [21:21] is the sub-list for extension type_name
|
||||
21, // [21:21] is the sub-list for extension extendee
|
||||
0, // [0:21] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_chasm_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_chasm_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_chasm_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_init()
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[1].OneofWrappers = []any{
|
||||
(*ChasmNodeMetadata_ComponentAttributes)(nil),
|
||||
(*ChasmNodeMetadata_DataAttributes)(nil),
|
||||
(*ChasmNodeMetadata_CollectionAttributes)(nil),
|
||||
(*ChasmNodeMetadata_PointerAttributes)(nil),
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_msgTypes[8].OneofWrappers = []any{
|
||||
(*ChasmNexusCompletion_Success)(nil),
|
||||
(*ChasmNexusCompletion_Failure)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_chasm_proto_rawDesc), len(file_temporal_server_api_persistence_v1_chasm_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_chasm_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_chasm_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_chasm_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_chasm_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type ChasmVisibilityData to the protobuf v3 wire format
|
||||
func (val *ChasmVisibilityData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmVisibilityData from the protobuf v3 wire format
|
||||
func (val *ChasmVisibilityData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmVisibilityData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmVisibilityData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmVisibilityData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmVisibilityData
|
||||
switch t := that.(type) {
|
||||
case *ChasmVisibilityData:
|
||||
that1 = t
|
||||
case ChasmVisibilityData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ChasmVisibilityTaskData to the protobuf v3 wire format
|
||||
func (val *ChasmVisibilityTaskData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ChasmVisibilityTaskData from the protobuf v3 wire format
|
||||
func (val *ChasmVisibilityTaskData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ChasmVisibilityTaskData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ChasmVisibilityTaskData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ChasmVisibilityTaskData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ChasmVisibilityTaskData
|
||||
switch t := that.(type) {
|
||||
case *ChasmVisibilityTaskData:
|
||||
that1 = t
|
||||
case ChasmVisibilityTaskData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,170 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/chasm_visibility.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 ChasmVisibilityData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TransitionCount int64 `protobuf:"varint,1,opt,name=transition_count,json=transitionCount,proto3" json:"transition_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityData) Reset() {
|
||||
*x = ChasmVisibilityData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmVisibilityData) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmVisibilityData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_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 ChasmVisibilityData.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmVisibilityData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityData) GetTransitionCount() int64 {
|
||||
if x != nil {
|
||||
return x.TransitionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ChasmVisibilityTaskData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TransitionCount int64 `protobuf:"varint,1,opt,name=transition_count,json=transitionCount,proto3" json:"transition_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityTaskData) Reset() {
|
||||
*x = ChasmVisibilityTaskData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityTaskData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChasmVisibilityTaskData) ProtoMessage() {}
|
||||
|
||||
func (x *ChasmVisibilityTaskData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_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 ChasmVisibilityTaskData.ProtoReflect.Descriptor instead.
|
||||
func (*ChasmVisibilityTaskData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ChasmVisibilityTaskData) GetTransitionCount() int64 {
|
||||
if x != nil {
|
||||
return x.TransitionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_chasm_visibility_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"9temporal/server/api/persistence/v1/chasm_visibility.proto\x12\"temporal.server.api.persistence.v1\"@\n" +
|
||||
"\x13ChasmVisibilityData\x12)\n" +
|
||||
"\x10transition_count\x18\x01 \x01(\x03R\x0ftransitionCount\"D\n" +
|
||||
"\x17ChasmVisibilityTaskData\x12)\n" +
|
||||
"\x10transition_count\x18\x01 \x01(\x03R\x0ftransitionCountB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDesc), len(file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_temporal_server_api_persistence_v1_chasm_visibility_proto_goTypes = []any{
|
||||
(*ChasmVisibilityData)(nil), // 0: temporal.server.api.persistence.v1.ChasmVisibilityData
|
||||
(*ChasmVisibilityTaskData)(nil), // 1: temporal.server.api.persistence.v1.ChasmVisibilityTaskData
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_chasm_visibility_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_server_api_persistence_v1_chasm_visibility_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_chasm_visibility_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_chasm_visibility_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDesc), len(file_temporal_server_api_persistence_v1_chasm_visibility_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_chasm_visibility_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_chasm_visibility_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_chasm_visibility_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_chasm_visibility_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type ClusterMetadata to the protobuf v3 wire format
|
||||
func (val *ClusterMetadata) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ClusterMetadata from the protobuf v3 wire format
|
||||
func (val *ClusterMetadata) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ClusterMetadata) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ClusterMetadata values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ClusterMetadata) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ClusterMetadata
|
||||
switch t := that.(type) {
|
||||
case *ClusterMetadata:
|
||||
that1 = t
|
||||
case ClusterMetadata:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type IndexSearchAttributes to the protobuf v3 wire format
|
||||
func (val *IndexSearchAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type IndexSearchAttributes from the protobuf v3 wire format
|
||||
func (val *IndexSearchAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *IndexSearchAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two IndexSearchAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *IndexSearchAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *IndexSearchAttributes
|
||||
switch t := that.(type) {
|
||||
case *IndexSearchAttributes:
|
||||
that1 = t
|
||||
case IndexSearchAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,313 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/cluster_metadata.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v11 "go.temporal.io/api/enums/v1"
|
||||
v1 "go.temporal.io/api/version/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// data column
|
||||
type ClusterMetadata struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
||||
HistoryShardCount int32 `protobuf:"varint,2,opt,name=history_shard_count,json=historyShardCount,proto3" json:"history_shard_count,omitempty"`
|
||||
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||
VersionInfo *v1.VersionInfo `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
|
||||
IndexSearchAttributes map[string]*IndexSearchAttributes `protobuf:"bytes,5,rep,name=index_search_attributes,json=indexSearchAttributes,proto3" json:"index_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ClusterAddress string `protobuf:"bytes,6,opt,name=cluster_address,json=clusterAddress,proto3" json:"cluster_address,omitempty"`
|
||||
HttpAddress string `protobuf:"bytes,13,opt,name=http_address,json=httpAddress,proto3" json:"http_address,omitempty"`
|
||||
FailoverVersionIncrement int64 `protobuf:"varint,7,opt,name=failover_version_increment,json=failoverVersionIncrement,proto3" json:"failover_version_increment,omitempty"`
|
||||
InitialFailoverVersion int64 `protobuf:"varint,8,opt,name=initial_failover_version,json=initialFailoverVersion,proto3" json:"initial_failover_version,omitempty"`
|
||||
IsGlobalNamespaceEnabled bool `protobuf:"varint,9,opt,name=is_global_namespace_enabled,json=isGlobalNamespaceEnabled,proto3" json:"is_global_namespace_enabled,omitempty"`
|
||||
IsConnectionEnabled bool `protobuf:"varint,10,opt,name=is_connection_enabled,json=isConnectionEnabled,proto3" json:"is_connection_enabled,omitempty"`
|
||||
UseClusterIdMembership bool `protobuf:"varint,11,opt,name=use_cluster_id_membership,json=useClusterIdMembership,proto3" json:"use_cluster_id_membership,omitempty"`
|
||||
Tags map[string]string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// is_replication_enabled controls whether replication streams are active.
|
||||
IsReplicationEnabled bool `protobuf:"varint,14,opt,name=is_replication_enabled,json=isReplicationEnabled,proto3" json:"is_replication_enabled,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) Reset() {
|
||||
*x = ClusterMetadata{}
|
||||
mi := &file_temporal_server_api_persistence_v1_cluster_metadata_proto_msgTypes[0]
|
||||
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_server_api_persistence_v1_cluster_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 ClusterMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*ClusterMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetClusterName() string {
|
||||
if x != nil {
|
||||
return x.ClusterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetHistoryShardCount() int32 {
|
||||
if x != nil {
|
||||
return x.HistoryShardCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetClusterId() string {
|
||||
if x != nil {
|
||||
return x.ClusterId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetVersionInfo() *v1.VersionInfo {
|
||||
if x != nil {
|
||||
return x.VersionInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetIndexSearchAttributes() map[string]*IndexSearchAttributes {
|
||||
if x != nil {
|
||||
return x.IndexSearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetClusterAddress() string {
|
||||
if x != nil {
|
||||
return x.ClusterAddress
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetHttpAddress() string {
|
||||
if x != nil {
|
||||
return x.HttpAddress
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetFailoverVersionIncrement() int64 {
|
||||
if x != nil {
|
||||
return x.FailoverVersionIncrement
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetInitialFailoverVersion() int64 {
|
||||
if x != nil {
|
||||
return x.InitialFailoverVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetIsGlobalNamespaceEnabled() bool {
|
||||
if x != nil {
|
||||
return x.IsGlobalNamespaceEnabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetIsConnectionEnabled() bool {
|
||||
if x != nil {
|
||||
return x.IsConnectionEnabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetUseClusterIdMembership() bool {
|
||||
if x != nil {
|
||||
return x.UseClusterIdMembership
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetTags() map[string]string {
|
||||
if x != nil {
|
||||
return x.Tags
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ClusterMetadata) GetIsReplicationEnabled() bool {
|
||||
if x != nil {
|
||||
return x.IsReplicationEnabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type IndexSearchAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CustomSearchAttributes map[string]v11.IndexedValueType `protobuf:"bytes,1,rep,name=custom_search_attributes,json=customSearchAttributes,proto3" json:"custom_search_attributes,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 *IndexSearchAttributes) Reset() {
|
||||
*x = IndexSearchAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_cluster_metadata_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *IndexSearchAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IndexSearchAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *IndexSearchAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_cluster_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 IndexSearchAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*IndexSearchAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *IndexSearchAttributes) GetCustomSearchAttributes() map[string]v11.IndexedValueType {
|
||||
if x != nil {
|
||||
return x.CustomSearchAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_cluster_metadata_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"9temporal/server/api/persistence/v1/cluster_metadata.proto\x12\"temporal.server.api.persistence.v1\x1a\"temporal/api/enums/v1/common.proto\x1a%temporal/api/version/v1/message.proto\"\x8f\b\n" +
|
||||
"\x0fClusterMetadata\x12!\n" +
|
||||
"\fcluster_name\x18\x01 \x01(\tR\vclusterName\x12.\n" +
|
||||
"\x13history_shard_count\x18\x02 \x01(\x05R\x11historyShardCount\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\x86\x01\n" +
|
||||
"\x17index_search_attributes\x18\x05 \x03(\v2N.temporal.server.api.persistence.v1.ClusterMetadata.IndexSearchAttributesEntryR\x15indexSearchAttributes\x12'\n" +
|
||||
"\x0fcluster_address\x18\x06 \x01(\tR\x0eclusterAddress\x12!\n" +
|
||||
"\fhttp_address\x18\r \x01(\tR\vhttpAddress\x12<\n" +
|
||||
"\x1afailover_version_increment\x18\a \x01(\x03R\x18failoverVersionIncrement\x128\n" +
|
||||
"\x18initial_failover_version\x18\b \x01(\x03R\x16initialFailoverVersion\x12=\n" +
|
||||
"\x1bis_global_namespace_enabled\x18\t \x01(\bR\x18isGlobalNamespaceEnabled\x122\n" +
|
||||
"\x15is_connection_enabled\x18\n" +
|
||||
" \x01(\bR\x13isConnectionEnabled\x129\n" +
|
||||
"\x19use_cluster_id_membership\x18\v \x01(\bR\x16useClusterIdMembership\x12Q\n" +
|
||||
"\x04tags\x18\f \x03(\v2=.temporal.server.api.persistence.v1.ClusterMetadata.TagsEntryR\x04tags\x124\n" +
|
||||
"\x16is_replication_enabled\x18\x0e \x01(\bR\x14isReplicationEnabled\x1a\x83\x01\n" +
|
||||
"\x1aIndexSearchAttributesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12O\n" +
|
||||
"\x05value\x18\x02 \x01(\v29.temporal.server.api.persistence.v1.IndexSearchAttributesR\x05value:\x028\x01\x1a7\n" +
|
||||
"\tTagsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9d\x02\n" +
|
||||
"\x15IndexSearchAttributes\x12\x8f\x01\n" +
|
||||
"\x18custom_search_attributes\x18\x01 \x03(\v2U.temporal.server.api.persistence.v1.IndexSearchAttributes.CustomSearchAttributesEntryR\x16customSearchAttributes\x1ar\n" +
|
||||
"\x1bCustomSearchAttributesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12=\n" +
|
||||
"\x05value\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.IndexedValueTypeR\x05value:\x028\x01B6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_cluster_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_temporal_server_api_persistence_v1_cluster_metadata_proto_goTypes = []any{
|
||||
(*ClusterMetadata)(nil), // 0: temporal.server.api.persistence.v1.ClusterMetadata
|
||||
(*IndexSearchAttributes)(nil), // 1: temporal.server.api.persistence.v1.IndexSearchAttributes
|
||||
nil, // 2: temporal.server.api.persistence.v1.ClusterMetadata.IndexSearchAttributesEntry
|
||||
nil, // 3: temporal.server.api.persistence.v1.ClusterMetadata.TagsEntry
|
||||
nil, // 4: temporal.server.api.persistence.v1.IndexSearchAttributes.CustomSearchAttributesEntry
|
||||
(*v1.VersionInfo)(nil), // 5: temporal.api.version.v1.VersionInfo
|
||||
(v11.IndexedValueType)(0), // 6: temporal.api.enums.v1.IndexedValueType
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_cluster_metadata_proto_depIdxs = []int32{
|
||||
5, // 0: temporal.server.api.persistence.v1.ClusterMetadata.version_info:type_name -> temporal.api.version.v1.VersionInfo
|
||||
2, // 1: temporal.server.api.persistence.v1.ClusterMetadata.index_search_attributes:type_name -> temporal.server.api.persistence.v1.ClusterMetadata.IndexSearchAttributesEntry
|
||||
3, // 2: temporal.server.api.persistence.v1.ClusterMetadata.tags:type_name -> temporal.server.api.persistence.v1.ClusterMetadata.TagsEntry
|
||||
4, // 3: temporal.server.api.persistence.v1.IndexSearchAttributes.custom_search_attributes:type_name -> temporal.server.api.persistence.v1.IndexSearchAttributes.CustomSearchAttributesEntry
|
||||
1, // 4: temporal.server.api.persistence.v1.ClusterMetadata.IndexSearchAttributesEntry.value:type_name -> temporal.server.api.persistence.v1.IndexSearchAttributes
|
||||
6, // 5: temporal.server.api.persistence.v1.IndexSearchAttributes.CustomSearchAttributesEntry.value:type_name -> temporal.api.enums.v1.IndexedValueType
|
||||
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_server_api_persistence_v1_cluster_metadata_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_cluster_metadata_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_cluster_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_server_api_persistence_v1_cluster_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_cluster_metadata_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_cluster_metadata_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_cluster_metadata_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_cluster_metadata_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_cluster_metadata_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_cluster_metadata_proto_depIdxs = nil
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,117 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type HistoryTreeInfo to the protobuf v3 wire format
|
||||
func (val *HistoryTreeInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryTreeInfo from the protobuf v3 wire format
|
||||
func (val *HistoryTreeInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryTreeInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryTreeInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryTreeInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryTreeInfo
|
||||
switch t := that.(type) {
|
||||
case *HistoryTreeInfo:
|
||||
that1 = t
|
||||
case HistoryTreeInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryBranch to the protobuf v3 wire format
|
||||
func (val *HistoryBranch) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryBranch from the protobuf v3 wire format
|
||||
func (val *HistoryBranch) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryBranch) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryBranch values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryBranch) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryBranch
|
||||
switch t := that.(type) {
|
||||
case *HistoryBranch:
|
||||
that1 = t
|
||||
case HistoryBranch:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryBranchRange to the protobuf v3 wire format
|
||||
func (val *HistoryBranchRange) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryBranchRange from the protobuf v3 wire format
|
||||
func (val *HistoryBranchRange) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryBranchRange) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryBranchRange values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryBranchRange) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryBranchRange
|
||||
switch t := that.(type) {
|
||||
case *HistoryBranchRange:
|
||||
that1 = t
|
||||
case HistoryBranchRange:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,298 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/history_tree.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// branch column
|
||||
type HistoryTreeInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
BranchInfo *HistoryBranch `protobuf:"bytes,1,opt,name=branch_info,json=branchInfo,proto3" json:"branch_info,omitempty"`
|
||||
// For fork operation to prevent race condition of leaking event data when forking branches fail. Also can be used for clean up leaked data.
|
||||
ForkTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=fork_time,json=forkTime,proto3" json:"fork_time,omitempty"`
|
||||
// For lookup back to workflow during debugging, also background cleanup when fork operation cannot finish self cleanup due to crash.
|
||||
Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
|
||||
// Deprecating branch token in favor of branch info.
|
||||
//
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/history_tree.proto.
|
||||
BranchToken []byte `protobuf:"bytes,4,opt,name=branch_token,json=branchToken,proto3" json:"branch_token,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryTreeInfo) Reset() {
|
||||
*x = HistoryTreeInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryTreeInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryTreeInfo) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryTreeInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_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 HistoryTreeInfo.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryTreeInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_history_tree_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HistoryTreeInfo) GetBranchInfo() *HistoryBranch {
|
||||
if x != nil {
|
||||
return x.BranchInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HistoryTreeInfo) GetForkTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.ForkTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HistoryTreeInfo) GetInfo() string {
|
||||
if x != nil {
|
||||
return x.Info
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/history_tree.proto.
|
||||
func (x *HistoryTreeInfo) GetBranchToken() []byte {
|
||||
if x != nil {
|
||||
return x.BranchToken
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// For history persistence to serialize/deserialize branch details.
|
||||
type HistoryBranch struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TreeId string `protobuf:"bytes,1,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"`
|
||||
BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"`
|
||||
Ancestors []*HistoryBranchRange `protobuf:"bytes,3,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryBranch) Reset() {
|
||||
*x = HistoryBranch{}
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryBranch) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryBranch) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryBranch) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_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 HistoryBranch.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryBranch) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_history_tree_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *HistoryBranch) GetTreeId() string {
|
||||
if x != nil {
|
||||
return x.TreeId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBranch) GetBranchId() string {
|
||||
if x != nil {
|
||||
return x.BranchId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBranch) GetAncestors() []*HistoryBranchRange {
|
||||
if x != nil {
|
||||
return x.Ancestors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// HistoryBranchRange represents a piece of range for a branch.
|
||||
type HistoryBranchRange struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// BranchId of original branch forked from.
|
||||
BranchId string `protobuf:"bytes,1,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"`
|
||||
// Beginning node for the range, inclusive.
|
||||
BeginNodeId int64 `protobuf:"varint,2,opt,name=begin_node_id,json=beginNodeId,proto3" json:"begin_node_id,omitempty"`
|
||||
// Ending node for the range, exclusive.
|
||||
EndNodeId int64 `protobuf:"varint,3,opt,name=end_node_id,json=endNodeId,proto3" json:"end_node_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryBranchRange) Reset() {
|
||||
*x = HistoryBranchRange{}
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryBranchRange) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryBranchRange) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryBranchRange) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_history_tree_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 HistoryBranchRange.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryBranchRange) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_history_tree_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *HistoryBranchRange) GetBranchId() string {
|
||||
if x != nil {
|
||||
return x.BranchId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryBranchRange) GetBeginNodeId() int64 {
|
||||
if x != nil {
|
||||
return x.BeginNodeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryBranchRange) GetEndNodeId() int64 {
|
||||
if x != nil {
|
||||
return x.EndNodeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_history_tree_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_history_tree_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"5temporal/server/api/persistence/v1/history_tree.proto\x12\"temporal.server.api.persistence.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x01\n" +
|
||||
"\x0fHistoryTreeInfo\x12R\n" +
|
||||
"\vbranch_info\x18\x01 \x01(\v21.temporal.server.api.persistence.v1.HistoryBranchR\n" +
|
||||
"branchInfo\x127\n" +
|
||||
"\tfork_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\bforkTime\x12\x12\n" +
|
||||
"\x04info\x18\x03 \x01(\tR\x04info\x12%\n" +
|
||||
"\fbranch_token\x18\x04 \x01(\fB\x02\x18\x01R\vbranchToken\"\x9b\x01\n" +
|
||||
"\rHistoryBranch\x12\x17\n" +
|
||||
"\atree_id\x18\x01 \x01(\tR\x06treeId\x12\x1b\n" +
|
||||
"\tbranch_id\x18\x02 \x01(\tR\bbranchId\x12T\n" +
|
||||
"\tancestors\x18\x03 \x03(\v26.temporal.server.api.persistence.v1.HistoryBranchRangeR\tancestors\"u\n" +
|
||||
"\x12HistoryBranchRange\x12\x1b\n" +
|
||||
"\tbranch_id\x18\x01 \x01(\tR\bbranchId\x12\"\n" +
|
||||
"\rbegin_node_id\x18\x02 \x01(\x03R\vbeginNodeId\x12\x1e\n" +
|
||||
"\vend_node_id\x18\x03 \x01(\x03R\tendNodeIdB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_history_tree_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_history_tree_proto_rawDesc), len(file_temporal_server_api_persistence_v1_history_tree_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_history_tree_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_history_tree_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_temporal_server_api_persistence_v1_history_tree_proto_goTypes = []any{
|
||||
(*HistoryTreeInfo)(nil), // 0: temporal.server.api.persistence.v1.HistoryTreeInfo
|
||||
(*HistoryBranch)(nil), // 1: temporal.server.api.persistence.v1.HistoryBranch
|
||||
(*HistoryBranchRange)(nil), // 2: temporal.server.api.persistence.v1.HistoryBranchRange
|
||||
(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_history_tree_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.persistence.v1.HistoryTreeInfo.branch_info:type_name -> temporal.server.api.persistence.v1.HistoryBranch
|
||||
3, // 1: temporal.server.api.persistence.v1.HistoryTreeInfo.fork_time:type_name -> google.protobuf.Timestamp
|
||||
2, // 2: temporal.server.api.persistence.v1.HistoryBranch.ancestors:type_name -> temporal.server.api.persistence.v1.HistoryBranchRange
|
||||
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_server_api_persistence_v1_history_tree_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_history_tree_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_history_tree_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_history_tree_proto_rawDesc), len(file_temporal_server_api_persistence_v1_history_tree_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_history_tree_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_history_tree_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_history_tree_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_history_tree_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_history_tree_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,376 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type StateMachineNode to the protobuf v3 wire format
|
||||
func (val *StateMachineNode) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineNode from the protobuf v3 wire format
|
||||
func (val *StateMachineNode) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineNode) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineNode values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineNode) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineNode
|
||||
switch t := that.(type) {
|
||||
case *StateMachineNode:
|
||||
that1 = t
|
||||
case StateMachineNode:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineMap to the protobuf v3 wire format
|
||||
func (val *StateMachineMap) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineMap from the protobuf v3 wire format
|
||||
func (val *StateMachineMap) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineMap) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineMap values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineMap) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineMap
|
||||
switch t := that.(type) {
|
||||
case *StateMachineMap:
|
||||
that1 = t
|
||||
case StateMachineMap:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineKey to the protobuf v3 wire format
|
||||
func (val *StateMachineKey) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineKey from the protobuf v3 wire format
|
||||
func (val *StateMachineKey) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineKey) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineKey values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineKey) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineKey
|
||||
switch t := that.(type) {
|
||||
case *StateMachineKey:
|
||||
that1 = t
|
||||
case StateMachineKey:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineRef to the protobuf v3 wire format
|
||||
func (val *StateMachineRef) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineRef from the protobuf v3 wire format
|
||||
func (val *StateMachineRef) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineRef) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineRef values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineRef) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineRef
|
||||
switch t := that.(type) {
|
||||
case *StateMachineRef:
|
||||
that1 = t
|
||||
case StateMachineRef:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineTaskInfo to the protobuf v3 wire format
|
||||
func (val *StateMachineTaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineTaskInfo from the protobuf v3 wire format
|
||||
func (val *StateMachineTaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineTaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineTaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineTaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineTaskInfo
|
||||
switch t := that.(type) {
|
||||
case *StateMachineTaskInfo:
|
||||
that1 = t
|
||||
case StateMachineTaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineTimerGroup to the protobuf v3 wire format
|
||||
func (val *StateMachineTimerGroup) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineTimerGroup from the protobuf v3 wire format
|
||||
func (val *StateMachineTimerGroup) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineTimerGroup) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineTimerGroup values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineTimerGroup) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineTimerGroup
|
||||
switch t := that.(type) {
|
||||
case *StateMachineTimerGroup:
|
||||
that1 = t
|
||||
case StateMachineTimerGroup:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionedTransition to the protobuf v3 wire format
|
||||
func (val *VersionedTransition) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionedTransition from the protobuf v3 wire format
|
||||
func (val *VersionedTransition) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionedTransition) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionedTransition values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionedTransition) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionedTransition
|
||||
switch t := that.(type) {
|
||||
case *VersionedTransition:
|
||||
that1 = t
|
||||
case VersionedTransition:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineTombstoneBatch to the protobuf v3 wire format
|
||||
func (val *StateMachineTombstoneBatch) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineTombstoneBatch from the protobuf v3 wire format
|
||||
func (val *StateMachineTombstoneBatch) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineTombstoneBatch) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineTombstoneBatch values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineTombstoneBatch) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineTombstoneBatch
|
||||
switch t := that.(type) {
|
||||
case *StateMachineTombstoneBatch:
|
||||
that1 = t
|
||||
case StateMachineTombstoneBatch:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachineTombstone to the protobuf v3 wire format
|
||||
func (val *StateMachineTombstone) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachineTombstone from the protobuf v3 wire format
|
||||
func (val *StateMachineTombstone) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachineTombstone) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachineTombstone values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachineTombstone) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachineTombstone
|
||||
switch t := that.(type) {
|
||||
case *StateMachineTombstone:
|
||||
that1 = t
|
||||
case StateMachineTombstone:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type StateMachinePath to the protobuf v3 wire format
|
||||
func (val *StateMachinePath) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type StateMachinePath from the protobuf v3 wire format
|
||||
func (val *StateMachinePath) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *StateMachinePath) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two StateMachinePath values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *StateMachinePath) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *StateMachinePath
|
||||
switch t := that.(type) {
|
||||
case *StateMachinePath:
|
||||
that1 = t
|
||||
case StateMachinePath:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,929 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/hsm.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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 node in a hierarchical state machine tree.
|
||||
type StateMachineNode struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Serialized data of the underlying state machine.
|
||||
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
||||
// Map of state machine type to a map of machines by ID.
|
||||
Children map[string]*StateMachineMap `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// Versioned transition when the node was instantiated.
|
||||
// This field, plus node path uniquely identifies a state machine node in a mutable state instance.
|
||||
// This field will always be set even when transition history is disabled.
|
||||
// NOTE: If transition history is disabled, the transition_count field will be 0 and
|
||||
// cannot be used to uniquely identify a node.
|
||||
// NOTE: Node deletion is not yet implemented at the time of writing so we can still uniquely identify a node just
|
||||
// with the initial namespace failover version.
|
||||
InitialVersionedTransition *VersionedTransition `protobuf:"bytes,3,opt,name=initial_versioned_transition,json=initialVersionedTransition,proto3" json:"initial_versioned_transition,omitempty"`
|
||||
// Versioned transition when the node was last updated.
|
||||
// This field will always be set even when transition history is disabled.
|
||||
// NOTE: If transition history is disabled, the transition_count field will be 0 and
|
||||
// cannot be used for non-concurrent task staleness check or to determine whether this node should be synced
|
||||
// during state replication.
|
||||
LastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,4,opt,name=last_update_versioned_transition,json=lastUpdateVersionedTransition,proto3" json:"last_update_versioned_transition,omitempty"`
|
||||
// Number of transitions on this state machine object.
|
||||
// Used to verify that a task is not stale if the state machine does not allow concurrent task execution.
|
||||
// The transition count monotonically increases with each state transition and only resets when the entire
|
||||
// mutable state was rebuilt. This case is handled by the task_generation_shard_clock_timestamp field in
|
||||
// WorkflowExecutionInfo.
|
||||
// NOTE: This field is cluster specific and cannot be replicated.
|
||||
// NOTE: This field will be made obsolete when transition history is enabled in favor of
|
||||
// last_update_versioned_transition.
|
||||
TransitionCount int64 `protobuf:"varint,100,opt,name=transition_count,json=transitionCount,proto3" json:"transition_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) Reset() {
|
||||
*x = StateMachineNode{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineNode) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineNode) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineNode.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineNode) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) GetData() []byte {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) GetChildren() map[string]*StateMachineMap {
|
||||
if x != nil {
|
||||
return x.Children
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) GetInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.InitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) GetLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.LastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineNode) GetTransitionCount() int64 {
|
||||
if x != nil {
|
||||
return x.TransitionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Map of state machine ID to StateMachineNode.
|
||||
type StateMachineMap struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// (-- api-linter: core::0140::prepositions=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: "by" is used to clarify the keys and values. --)
|
||||
MachinesById map[string]*StateMachineNode `protobuf:"bytes,1,rep,name=machines_by_id,json=machinesById,proto3" json:"machines_by_id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineMap) Reset() {
|
||||
*x = StateMachineMap{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineMap) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineMap) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineMap) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineMap.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineMap) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *StateMachineMap) GetMachinesById() map[string]*StateMachineNode {
|
||||
if x != nil {
|
||||
return x.MachinesById
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StateMachineKey struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Addressable type of the corresponding state machine in a single tree level.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Addressable ID of the corresponding state machine in a single tree level.
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineKey) Reset() {
|
||||
*x = StateMachineKey{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineKey) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineKey.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineKey) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *StateMachineKey) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StateMachineKey) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A reference to a state machine at a point in time.
|
||||
type StateMachineRef struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Nested path to a state machine.
|
||||
Path []*StateMachineKey `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
|
||||
// Versioned transition of the ref was instantiated.
|
||||
// Used to verify that the ref is not referencing a stale state or, in some situations,
|
||||
// that the ref itself is not stale.
|
||||
// NOTE: If transition history is disabled, the field will not be specified and
|
||||
// cannot be used for staleness check.
|
||||
MutableStateVersionedTransition *VersionedTransition `protobuf:"bytes,2,opt,name=mutable_state_versioned_transition,json=mutableStateVersionedTransition,proto3" json:"mutable_state_versioned_transition,omitempty"`
|
||||
// Versioned transition when the state machine node was instantiated.
|
||||
// This field, plus node path uniquely identifies a state machine node in a mutable state instance.
|
||||
// This field will always be set even when transition history is disabled.
|
||||
// NOTE: If transition history is disabled, the transition_count field will be 0 and
|
||||
// cannot be used to uniquely identify a node.
|
||||
// NOTE: Node deletion is not yet implemented at the time of writing so we can still uniquely identify a node just
|
||||
// with the initial namespace failover version.
|
||||
MachineInitialVersionedTransition *VersionedTransition `protobuf:"bytes,3,opt,name=machine_initial_versioned_transition,json=machineInitialVersionedTransition,proto3" json:"machine_initial_versioned_transition,omitempty"`
|
||||
// Versioned transition when the state machine node was last updated.
|
||||
// If not specified, this reference is considered non-concurrent,
|
||||
// and should match the last_update_versioned_transition on the corresponding state machine node.
|
||||
// NOTE: If transition history is disabled, the transition_count field will be 0 and
|
||||
// cannot be used for non-concurrent task staleness check.
|
||||
MachineLastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,4,opt,name=machine_last_update_versioned_transition,json=machineLastUpdateVersionedTransition,proto3" json:"machine_last_update_versioned_transition,omitempty"`
|
||||
// Number of transitions executed on the referenced state machine node at the time this Ref is instantiated.
|
||||
// If non-zero, this reference is considered non-concurrent and this number should match the number of state
|
||||
// transitions on the corresponding state machine node.
|
||||
// This field will be obsolete once mutable state transition history is productionized.
|
||||
MachineTransitionCount int64 `protobuf:"varint,100,opt,name=machine_transition_count,json=machineTransitionCount,proto3" json:"machine_transition_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) Reset() {
|
||||
*x = StateMachineRef{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineRef) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineRef) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineRef.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineRef) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) GetPath() []*StateMachineKey {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) GetMutableStateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.MutableStateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) GetMachineInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.MachineInitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) GetMachineLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.MachineLastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineRef) GetMachineTransitionCount() int64 {
|
||||
if x != nil {
|
||||
return x.MachineTransitionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type StateMachineTaskInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Reference to a state machine.
|
||||
Ref *StateMachineRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
||||
// Task type. Not to be confused with the state machine's type in the `ref` field.
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Opaque data attached to this task. May be nil. Deserialized by a registered TaskSerializer for this type.
|
||||
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineTaskInfo) Reset() {
|
||||
*x = StateMachineTaskInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineTaskInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineTaskInfo) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineTaskInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineTaskInfo.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineTaskInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *StateMachineTaskInfo) GetRef() *StateMachineRef {
|
||||
if x != nil {
|
||||
return x.Ref
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTaskInfo) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StateMachineTaskInfo) GetData() []byte {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A group of state machine timer tasks for a given deadline, used for collapsing state machine timer tasks.
|
||||
type StateMachineTimerGroup struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Task information.
|
||||
Infos []*StateMachineTaskInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
|
||||
// When this timer should be fired.
|
||||
// (-- api-linter: core::0142::time-field-names=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Ignoring lint rules. --)
|
||||
Deadline *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deadline,proto3" json:"deadline,omitempty"`
|
||||
// Whether or not a task was put in the queue for this group's deadline.
|
||||
Scheduled bool `protobuf:"varint,3,opt,name=scheduled,proto3" json:"scheduled,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineTimerGroup) Reset() {
|
||||
*x = StateMachineTimerGroup{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineTimerGroup) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineTimerGroup) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineTimerGroup) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineTimerGroup.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineTimerGroup) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *StateMachineTimerGroup) GetInfos() []*StateMachineTaskInfo {
|
||||
if x != nil {
|
||||
return x.Infos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTimerGroup) GetDeadline() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.Deadline
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTimerGroup) GetScheduled() bool {
|
||||
if x != nil {
|
||||
return x.Scheduled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// VersionedTransition is a unique identifier for a specific mutable state transition.
|
||||
type VersionedTransition struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The namespace failover version at transition time.
|
||||
NamespaceFailoverVersion int64 `protobuf:"varint,1,opt,name=namespace_failover_version,json=namespaceFailoverVersion,proto3" json:"namespace_failover_version,omitempty"`
|
||||
// State transition count perceived during the specified namespace_failover_version.
|
||||
TransitionCount int64 `protobuf:"varint,2,opt,name=transition_count,json=transitionCount,proto3" json:"transition_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersionedTransition) Reset() {
|
||||
*x = VersionedTransition{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersionedTransition) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersionedTransition) ProtoMessage() {}
|
||||
|
||||
func (x *VersionedTransition) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 VersionedTransition.ProtoReflect.Descriptor instead.
|
||||
func (*VersionedTransition) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *VersionedTransition) GetNamespaceFailoverVersion() int64 {
|
||||
if x != nil {
|
||||
return x.NamespaceFailoverVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VersionedTransition) GetTransitionCount() int64 {
|
||||
if x != nil {
|
||||
return x.TransitionCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type StateMachineTombstoneBatch struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The versioned transition in which the tombstones were created.
|
||||
VersionedTransition *VersionedTransition `protobuf:"bytes,1,opt,name=versioned_transition,json=versionedTransition,proto3" json:"versioned_transition,omitempty"`
|
||||
StateMachineTombstones []*StateMachineTombstone `protobuf:"bytes,2,rep,name=state_machine_tombstones,json=stateMachineTombstones,proto3" json:"state_machine_tombstones,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstoneBatch) Reset() {
|
||||
*x = StateMachineTombstoneBatch{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstoneBatch) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineTombstoneBatch) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineTombstoneBatch) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineTombstoneBatch.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineTombstoneBatch) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstoneBatch) GetVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.VersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstoneBatch) GetStateMachineTombstones() []*StateMachineTombstone {
|
||||
if x != nil {
|
||||
return x.StateMachineTombstones
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StateMachineTombstone struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to StateMachineKey:
|
||||
//
|
||||
// *StateMachineTombstone_ActivityScheduledEventId
|
||||
// *StateMachineTombstone_TimerId
|
||||
// *StateMachineTombstone_ChildExecutionInitiatedEventId
|
||||
// *StateMachineTombstone_RequestCancelInitiatedEventId
|
||||
// *StateMachineTombstone_SignalExternalInitiatedEventId
|
||||
// *StateMachineTombstone_UpdateId
|
||||
// *StateMachineTombstone_StateMachinePath
|
||||
// *StateMachineTombstone_ChasmNodePath
|
||||
StateMachineKey isStateMachineTombstone_StateMachineKey `protobuf_oneof:"state_machine_key"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) Reset() {
|
||||
*x = StateMachineTombstone{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachineTombstone) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachineTombstone) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachineTombstone.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachineTombstone) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetStateMachineKey() isStateMachineTombstone_StateMachineKey {
|
||||
if x != nil {
|
||||
return x.StateMachineKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetActivityScheduledEventId() int64 {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_ActivityScheduledEventId); ok {
|
||||
return x.ActivityScheduledEventId
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetTimerId() string {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_TimerId); ok {
|
||||
return x.TimerId
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetChildExecutionInitiatedEventId() int64 {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_ChildExecutionInitiatedEventId); ok {
|
||||
return x.ChildExecutionInitiatedEventId
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetRequestCancelInitiatedEventId() int64 {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_RequestCancelInitiatedEventId); ok {
|
||||
return x.RequestCancelInitiatedEventId
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetSignalExternalInitiatedEventId() int64 {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_SignalExternalInitiatedEventId); ok {
|
||||
return x.SignalExternalInitiatedEventId
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetUpdateId() string {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_UpdateId); ok {
|
||||
return x.UpdateId
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetStateMachinePath() *StateMachinePath {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_StateMachinePath); ok {
|
||||
return x.StateMachinePath
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StateMachineTombstone) GetChasmNodePath() string {
|
||||
if x != nil {
|
||||
if x, ok := x.StateMachineKey.(*StateMachineTombstone_ChasmNodePath); ok {
|
||||
return x.ChasmNodePath
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isStateMachineTombstone_StateMachineKey interface {
|
||||
isStateMachineTombstone_StateMachineKey()
|
||||
}
|
||||
|
||||
type StateMachineTombstone_ActivityScheduledEventId struct {
|
||||
ActivityScheduledEventId int64 `protobuf:"varint,1,opt,name=activity_scheduled_event_id,json=activityScheduledEventId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_TimerId struct {
|
||||
TimerId string `protobuf:"bytes,2,opt,name=timer_id,json=timerId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_ChildExecutionInitiatedEventId struct {
|
||||
ChildExecutionInitiatedEventId int64 `protobuf:"varint,3,opt,name=child_execution_initiated_event_id,json=childExecutionInitiatedEventId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_RequestCancelInitiatedEventId struct {
|
||||
RequestCancelInitiatedEventId int64 `protobuf:"varint,4,opt,name=request_cancel_initiated_event_id,json=requestCancelInitiatedEventId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_SignalExternalInitiatedEventId struct {
|
||||
SignalExternalInitiatedEventId int64 `protobuf:"varint,5,opt,name=signal_external_initiated_event_id,json=signalExternalInitiatedEventId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_UpdateId struct {
|
||||
UpdateId string `protobuf:"bytes,6,opt,name=update_id,json=updateId,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_StateMachinePath struct {
|
||||
StateMachinePath *StateMachinePath `protobuf:"bytes,7,opt,name=state_machine_path,json=stateMachinePath,proto3,oneof"`
|
||||
}
|
||||
|
||||
type StateMachineTombstone_ChasmNodePath struct {
|
||||
ChasmNodePath string `protobuf:"bytes,8,opt,name=chasm_node_path,json=chasmNodePath,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*StateMachineTombstone_ActivityScheduledEventId) isStateMachineTombstone_StateMachineKey() {}
|
||||
|
||||
func (*StateMachineTombstone_TimerId) isStateMachineTombstone_StateMachineKey() {}
|
||||
|
||||
func (*StateMachineTombstone_ChildExecutionInitiatedEventId) isStateMachineTombstone_StateMachineKey() {
|
||||
}
|
||||
|
||||
func (*StateMachineTombstone_RequestCancelInitiatedEventId) isStateMachineTombstone_StateMachineKey() {
|
||||
}
|
||||
|
||||
func (*StateMachineTombstone_SignalExternalInitiatedEventId) isStateMachineTombstone_StateMachineKey() {
|
||||
}
|
||||
|
||||
func (*StateMachineTombstone_UpdateId) isStateMachineTombstone_StateMachineKey() {}
|
||||
|
||||
func (*StateMachineTombstone_StateMachinePath) isStateMachineTombstone_StateMachineKey() {}
|
||||
|
||||
func (*StateMachineTombstone_ChasmNodePath) isStateMachineTombstone_StateMachineKey() {}
|
||||
|
||||
type StateMachinePath struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Path []*StateMachineKey `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StateMachinePath) Reset() {
|
||||
*x = StateMachinePath{}
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StateMachinePath) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StateMachinePath) ProtoMessage() {}
|
||||
|
||||
func (x *StateMachinePath) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_hsm_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 StateMachinePath.ProtoReflect.Descriptor instead.
|
||||
func (*StateMachinePath) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *StateMachinePath) GetPath() []*StateMachineKey {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_hsm_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_hsm_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",temporal/server/api/persistence/v1/hsm.proto\x12\"temporal.server.api.persistence.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x04\n" +
|
||||
"\x10StateMachineNode\x12\x12\n" +
|
||||
"\x04data\x18\x01 \x01(\fR\x04data\x12^\n" +
|
||||
"\bchildren\x18\x02 \x03(\v2B.temporal.server.api.persistence.v1.StateMachineNode.ChildrenEntryR\bchildren\x12y\n" +
|
||||
"\x1cinitial_versioned_transition\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1ainitialVersionedTransition\x12\x80\x01\n" +
|
||||
" last_update_versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1dlastUpdateVersionedTransition\x12)\n" +
|
||||
"\x10transition_count\x18d \x01(\x03R\x0ftransitionCount\x1ap\n" +
|
||||
"\rChildrenEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12I\n" +
|
||||
"\x05value\x18\x02 \x01(\v23.temporal.server.api.persistence.v1.StateMachineMapR\x05value:\x028\x01\"\xf5\x01\n" +
|
||||
"\x0fStateMachineMap\x12k\n" +
|
||||
"\x0emachines_by_id\x18\x01 \x03(\v2E.temporal.server.api.persistence.v1.StateMachineMap.MachinesByIdEntryR\fmachinesById\x1au\n" +
|
||||
"\x11MachinesByIdEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12J\n" +
|
||||
"\x05value\x18\x02 \x01(\v24.temporal.server.api.persistence.v1.StateMachineNodeR\x05value:\x028\x01\"5\n" +
|
||||
"\x0fStateMachineKey\x12\x12\n" +
|
||||
"\x04type\x18\x01 \x01(\tR\x04type\x12\x0e\n" +
|
||||
"\x02id\x18\x02 \x01(\tR\x02id\"\xb8\x04\n" +
|
||||
"\x0fStateMachineRef\x12G\n" +
|
||||
"\x04path\x18\x01 \x03(\v23.temporal.server.api.persistence.v1.StateMachineKeyR\x04path\x12\x84\x01\n" +
|
||||
"\"mutable_state_versioned_transition\x18\x02 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1fmutableStateVersionedTransition\x12\x88\x01\n" +
|
||||
"$machine_initial_versioned_transition\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR!machineInitialVersionedTransition\x12\x8f\x01\n" +
|
||||
"(machine_last_update_versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR$machineLastUpdateVersionedTransition\x128\n" +
|
||||
"\x18machine_transition_count\x18d \x01(\x03R\x16machineTransitionCount\"\x85\x01\n" +
|
||||
"\x14StateMachineTaskInfo\x12E\n" +
|
||||
"\x03ref\x18\x01 \x01(\v23.temporal.server.api.persistence.v1.StateMachineRefR\x03ref\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04data\x18\x03 \x01(\fR\x04data\"\xbe\x01\n" +
|
||||
"\x16StateMachineTimerGroup\x12N\n" +
|
||||
"\x05infos\x18\x01 \x03(\v28.temporal.server.api.persistence.v1.StateMachineTaskInfoR\x05infos\x126\n" +
|
||||
"\bdeadline\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\bdeadline\x12\x1c\n" +
|
||||
"\tscheduled\x18\x03 \x01(\bR\tscheduled\"~\n" +
|
||||
"\x13VersionedTransition\x12<\n" +
|
||||
"\x1anamespace_failover_version\x18\x01 \x01(\x03R\x18namespaceFailoverVersion\x12)\n" +
|
||||
"\x10transition_count\x18\x02 \x01(\x03R\x0ftransitionCount\"\xfd\x01\n" +
|
||||
"\x1aStateMachineTombstoneBatch\x12j\n" +
|
||||
"\x14versioned_transition\x18\x01 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x13versionedTransition\x12s\n" +
|
||||
"\x18state_machine_tombstones\x18\x02 \x03(\v29.temporal.server.api.persistence.v1.StateMachineTombstoneR\x16stateMachineTombstones\"\xa1\x04\n" +
|
||||
"\x15StateMachineTombstone\x12?\n" +
|
||||
"\x1bactivity_scheduled_event_id\x18\x01 \x01(\x03H\x00R\x18activityScheduledEventId\x12\x1b\n" +
|
||||
"\btimer_id\x18\x02 \x01(\tH\x00R\atimerId\x12L\n" +
|
||||
"\"child_execution_initiated_event_id\x18\x03 \x01(\x03H\x00R\x1echildExecutionInitiatedEventId\x12J\n" +
|
||||
"!request_cancel_initiated_event_id\x18\x04 \x01(\x03H\x00R\x1drequestCancelInitiatedEventId\x12L\n" +
|
||||
"\"signal_external_initiated_event_id\x18\x05 \x01(\x03H\x00R\x1esignalExternalInitiatedEventId\x12\x1d\n" +
|
||||
"\tupdate_id\x18\x06 \x01(\tH\x00R\bupdateId\x12d\n" +
|
||||
"\x12state_machine_path\x18\a \x01(\v24.temporal.server.api.persistence.v1.StateMachinePathH\x00R\x10stateMachinePath\x12(\n" +
|
||||
"\x0fchasm_node_path\x18\b \x01(\tH\x00R\rchasmNodePathB\x13\n" +
|
||||
"\x11state_machine_key\"[\n" +
|
||||
"\x10StateMachinePath\x12G\n" +
|
||||
"\x04path\x18\x01 \x03(\v23.temporal.server.api.persistence.v1.StateMachineKeyR\x04pathB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_hsm_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_hsm_proto_rawDesc), len(file_temporal_server_api_persistence_v1_hsm_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_hsm_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_hsm_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_temporal_server_api_persistence_v1_hsm_proto_goTypes = []any{
|
||||
(*StateMachineNode)(nil), // 0: temporal.server.api.persistence.v1.StateMachineNode
|
||||
(*StateMachineMap)(nil), // 1: temporal.server.api.persistence.v1.StateMachineMap
|
||||
(*StateMachineKey)(nil), // 2: temporal.server.api.persistence.v1.StateMachineKey
|
||||
(*StateMachineRef)(nil), // 3: temporal.server.api.persistence.v1.StateMachineRef
|
||||
(*StateMachineTaskInfo)(nil), // 4: temporal.server.api.persistence.v1.StateMachineTaskInfo
|
||||
(*StateMachineTimerGroup)(nil), // 5: temporal.server.api.persistence.v1.StateMachineTimerGroup
|
||||
(*VersionedTransition)(nil), // 6: temporal.server.api.persistence.v1.VersionedTransition
|
||||
(*StateMachineTombstoneBatch)(nil), // 7: temporal.server.api.persistence.v1.StateMachineTombstoneBatch
|
||||
(*StateMachineTombstone)(nil), // 8: temporal.server.api.persistence.v1.StateMachineTombstone
|
||||
(*StateMachinePath)(nil), // 9: temporal.server.api.persistence.v1.StateMachinePath
|
||||
nil, // 10: temporal.server.api.persistence.v1.StateMachineNode.ChildrenEntry
|
||||
nil, // 11: temporal.server.api.persistence.v1.StateMachineMap.MachinesByIdEntry
|
||||
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_hsm_proto_depIdxs = []int32{
|
||||
10, // 0: temporal.server.api.persistence.v1.StateMachineNode.children:type_name -> temporal.server.api.persistence.v1.StateMachineNode.ChildrenEntry
|
||||
6, // 1: temporal.server.api.persistence.v1.StateMachineNode.initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
6, // 2: temporal.server.api.persistence.v1.StateMachineNode.last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
11, // 3: temporal.server.api.persistence.v1.StateMachineMap.machines_by_id:type_name -> temporal.server.api.persistence.v1.StateMachineMap.MachinesByIdEntry
|
||||
2, // 4: temporal.server.api.persistence.v1.StateMachineRef.path:type_name -> temporal.server.api.persistence.v1.StateMachineKey
|
||||
6, // 5: temporal.server.api.persistence.v1.StateMachineRef.mutable_state_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
6, // 6: temporal.server.api.persistence.v1.StateMachineRef.machine_initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
6, // 7: temporal.server.api.persistence.v1.StateMachineRef.machine_last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
3, // 8: temporal.server.api.persistence.v1.StateMachineTaskInfo.ref:type_name -> temporal.server.api.persistence.v1.StateMachineRef
|
||||
4, // 9: temporal.server.api.persistence.v1.StateMachineTimerGroup.infos:type_name -> temporal.server.api.persistence.v1.StateMachineTaskInfo
|
||||
12, // 10: temporal.server.api.persistence.v1.StateMachineTimerGroup.deadline:type_name -> google.protobuf.Timestamp
|
||||
6, // 11: temporal.server.api.persistence.v1.StateMachineTombstoneBatch.versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
8, // 12: temporal.server.api.persistence.v1.StateMachineTombstoneBatch.state_machine_tombstones:type_name -> temporal.server.api.persistence.v1.StateMachineTombstone
|
||||
9, // 13: temporal.server.api.persistence.v1.StateMachineTombstone.state_machine_path:type_name -> temporal.server.api.persistence.v1.StateMachinePath
|
||||
2, // 14: temporal.server.api.persistence.v1.StateMachinePath.path:type_name -> temporal.server.api.persistence.v1.StateMachineKey
|
||||
1, // 15: temporal.server.api.persistence.v1.StateMachineNode.ChildrenEntry.value:type_name -> temporal.server.api.persistence.v1.StateMachineMap
|
||||
0, // 16: temporal.server.api.persistence.v1.StateMachineMap.MachinesByIdEntry.value:type_name -> temporal.server.api.persistence.v1.StateMachineNode
|
||||
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_server_api_persistence_v1_hsm_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_hsm_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_hsm_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_msgTypes[8].OneofWrappers = []any{
|
||||
(*StateMachineTombstone_ActivityScheduledEventId)(nil),
|
||||
(*StateMachineTombstone_TimerId)(nil),
|
||||
(*StateMachineTombstone_ChildExecutionInitiatedEventId)(nil),
|
||||
(*StateMachineTombstone_RequestCancelInitiatedEventId)(nil),
|
||||
(*StateMachineTombstone_SignalExternalInitiatedEventId)(nil),
|
||||
(*StateMachineTombstone_UpdateId)(nil),
|
||||
(*StateMachineTombstone_StateMachinePath)(nil),
|
||||
(*StateMachineTombstone_ChasmNodePath)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_hsm_proto_rawDesc), len(file_temporal_server_api_persistence_v1_hsm_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_hsm_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_hsm_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_hsm_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_hsm_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type NamespaceDetail to the protobuf v3 wire format
|
||||
func (val *NamespaceDetail) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceDetail from the protobuf v3 wire format
|
||||
func (val *NamespaceDetail) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceDetail) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceDetail values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceDetail) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceDetail
|
||||
switch t := that.(type) {
|
||||
case *NamespaceDetail:
|
||||
that1 = t
|
||||
case NamespaceDetail:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NamespaceInfo to the protobuf v3 wire format
|
||||
func (val *NamespaceInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceInfo from the protobuf v3 wire format
|
||||
func (val *NamespaceInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceInfo
|
||||
switch t := that.(type) {
|
||||
case *NamespaceInfo:
|
||||
that1 = t
|
||||
case NamespaceInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NamespaceConfig to the protobuf v3 wire format
|
||||
func (val *NamespaceConfig) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceConfig from the protobuf v3 wire format
|
||||
func (val *NamespaceConfig) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceConfig) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceConfig values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceConfig) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceConfig
|
||||
switch t := that.(type) {
|
||||
case *NamespaceConfig:
|
||||
that1 = t
|
||||
case NamespaceConfig:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NamespaceReplicationConfig to the protobuf v3 wire format
|
||||
func (val *NamespaceReplicationConfig) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceReplicationConfig from the protobuf v3 wire format
|
||||
func (val *NamespaceReplicationConfig) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceReplicationConfig) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceReplicationConfig values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceReplicationConfig) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceReplicationConfig
|
||||
switch t := that.(type) {
|
||||
case *NamespaceReplicationConfig:
|
||||
that1 = t
|
||||
case NamespaceReplicationConfig:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type FailoverStatus to the protobuf v3 wire format
|
||||
func (val *FailoverStatus) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type FailoverStatus from the protobuf v3 wire format
|
||||
func (val *FailoverStatus) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *FailoverStatus) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two FailoverStatus values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *FailoverStatus) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *FailoverStatus
|
||||
switch t := that.(type) {
|
||||
case *FailoverStatus:
|
||||
that1 = t
|
||||
case FailoverStatus:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,560 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/namespaces.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/enums/v1"
|
||||
v11 "go.temporal.io/api/namespace/v1"
|
||||
v12 "go.temporal.io/api/rules/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"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// detail column
|
||||
type NamespaceDetail struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Info *NamespaceInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
||||
Config *NamespaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||
ReplicationConfig *NamespaceReplicationConfig `protobuf:"bytes,3,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"`
|
||||
ConfigVersion int64 `protobuf:"varint,4,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
|
||||
FailoverNotificationVersion int64 `protobuf:"varint,5,opt,name=failover_notification_version,json=failoverNotificationVersion,proto3" json:"failover_notification_version,omitempty"`
|
||||
FailoverVersion int64 `protobuf:"varint,6,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"`
|
||||
FailoverEndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=failover_end_time,json=failoverEndTime,proto3" json:"failover_end_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) Reset() {
|
||||
*x = NamespaceDetail{}
|
||||
mi := &file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NamespaceDetail) ProtoMessage() {}
|
||||
|
||||
func (x *NamespaceDetail) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_namespaces_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 NamespaceDetail.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceDetail) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetInfo() *NamespaceInfo {
|
||||
if x != nil {
|
||||
return x.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetConfig() *NamespaceConfig {
|
||||
if x != nil {
|
||||
return x.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetReplicationConfig() *NamespaceReplicationConfig {
|
||||
if x != nil {
|
||||
return x.ReplicationConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetConfigVersion() int64 {
|
||||
if x != nil {
|
||||
return x.ConfigVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetFailoverNotificationVersion() int64 {
|
||||
if x != nil {
|
||||
return x.FailoverNotificationVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetFailoverVersion() int64 {
|
||||
if x != nil {
|
||||
return x.FailoverVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NamespaceDetail) GetFailoverEndTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.FailoverEndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NamespaceInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
State v1.NamespaceState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.enums.v1.NamespaceState" json:"state,omitempty"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
||||
Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
|
||||
Data map[string]string `protobuf:"bytes,6,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) Reset() {
|
||||
*x = NamespaceInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes[1]
|
||||
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_server_api_persistence_v1_namespaces_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 NamespaceInfo.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetState() v1.NamespaceState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.NamespaceState(0)
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetDescription() string {
|
||||
if x != nil {
|
||||
return x.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetOwner() string {
|
||||
if x != nil {
|
||||
return x.Owner
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceInfo) GetData() map[string]string {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NamespaceConfig struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Retention *durationpb.Duration `protobuf:"bytes,1,opt,name=retention,proto3" json:"retention,omitempty"`
|
||||
ArchivalBucket string `protobuf:"bytes,2,opt,name=archival_bucket,json=archivalBucket,proto3" json:"archival_bucket,omitempty"`
|
||||
BadBinaries *v11.BadBinaries `protobuf:"bytes,3,opt,name=bad_binaries,json=badBinaries,proto3" json:"bad_binaries,omitempty"`
|
||||
HistoryArchivalState v1.ArchivalState `protobuf:"varint,4,opt,name=history_archival_state,json=historyArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"history_archival_state,omitempty"`
|
||||
HistoryArchivalUri string `protobuf:"bytes,5,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"`
|
||||
VisibilityArchivalState v1.ArchivalState `protobuf:"varint,6,opt,name=visibility_archival_state,json=visibilityArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"visibility_archival_state,omitempty"`
|
||||
VisibilityArchivalUri string `protobuf:"bytes,7,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"`
|
||||
CustomSearchAttributeAliases map[string]string `protobuf:"bytes,8,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"`
|
||||
WorkflowRules map[string]*v12.WorkflowRule `protobuf:"bytes,9,rep,name=workflow_rules,json=workflowRules,proto3" json:"workflow_rules,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_server_api_persistence_v1_namespaces_proto_msgTypes[2]
|
||||
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_server_api_persistence_v1_namespaces_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 NamespaceConfig.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceConfig) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *NamespaceConfig) GetRetention() *durationpb.Duration {
|
||||
if x != nil {
|
||||
return x.Retention
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NamespaceConfig) GetArchivalBucket() string {
|
||||
if x != nil {
|
||||
return x.ArchivalBucket
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceConfig) GetBadBinaries() *v11.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
|
||||
}
|
||||
|
||||
func (x *NamespaceConfig) GetWorkflowRules() map[string]*v12.WorkflowRule {
|
||||
if x != nil {
|
||||
return x.WorkflowRules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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 []string `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"`
|
||||
FailoverHistory []*FailoverStatus `protobuf:"bytes,8,rep,name=failover_history,json=failoverHistory,proto3" json:"failover_history,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NamespaceReplicationConfig) Reset() {
|
||||
*x = NamespaceReplicationConfig{}
|
||||
mi := &file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes[3]
|
||||
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_server_api_persistence_v1_namespaces_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 NamespaceReplicationConfig.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceReplicationConfig) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *NamespaceReplicationConfig) GetActiveClusterName() string {
|
||||
if x != nil {
|
||||
return x.ActiveClusterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NamespaceReplicationConfig) GetClusters() []string {
|
||||
if x != nil {
|
||||
return x.Clusters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NamespaceReplicationConfig) GetState() v1.ReplicationState {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return v1.ReplicationState(0)
|
||||
}
|
||||
|
||||
func (x *NamespaceReplicationConfig) GetFailoverHistory() []*FailoverStatus {
|
||||
if x != nil {
|
||||
return x.FailoverHistory
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents a historical replication status of a Namespace
|
||||
type FailoverStatus struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
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_server_api_persistence_v1_namespaces_proto_msgTypes[4]
|
||||
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_server_api_persistence_v1_namespaces_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 FailoverStatus.ProtoReflect.Descriptor instead.
|
||||
func (*FailoverStatus) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
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_server_api_persistence_v1_namespaces_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_namespaces_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"3temporal/server/api/persistence/v1/namespaces.proto\x12\"temporal.server.api.persistence.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a'temporal/api/namespace/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\"\xf2\x03\n" +
|
||||
"\x0fNamespaceDetail\x12E\n" +
|
||||
"\x04info\x18\x01 \x01(\v21.temporal.server.api.persistence.v1.NamespaceInfoR\x04info\x12K\n" +
|
||||
"\x06config\x18\x02 \x01(\v23.temporal.server.api.persistence.v1.NamespaceConfigR\x06config\x12m\n" +
|
||||
"\x12replication_config\x18\x03 \x01(\v2>.temporal.server.api.persistence.v1.NamespaceReplicationConfigR\x11replicationConfig\x12%\n" +
|
||||
"\x0econfig_version\x18\x04 \x01(\x03R\rconfigVersion\x12B\n" +
|
||||
"\x1dfailover_notification_version\x18\x05 \x01(\x03R\x1bfailoverNotificationVersion\x12)\n" +
|
||||
"\x10failover_version\x18\x06 \x01(\x03R\x0ffailoverVersion\x12F\n" +
|
||||
"\x11failover_end_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x0ffailoverEndTime\"\xb2\x02\n" +
|
||||
"\rNamespaceInfo\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12;\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e2%.temporal.api.enums.v1.NamespaceStateR\x05state\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" +
|
||||
"\x05owner\x18\x05 \x01(\tR\x05owner\x12O\n" +
|
||||
"\x04data\x18\x06 \x03(\v2;.temporal.server.api.persistence.v1.NamespaceInfo.DataEntryR\x04data\x1a7\n" +
|
||||
"\tDataEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xac\a\n" +
|
||||
"\x0fNamespaceConfig\x127\n" +
|
||||
"\tretention\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\tretention\x12'\n" +
|
||||
"\x0farchival_bucket\x18\x02 \x01(\tR\x0earchivalBucket\x12I\n" +
|
||||
"\fbad_binaries\x18\x03 \x01(\v2&.temporal.api.namespace.v1.BadBinariesR\vbadBinaries\x12Z\n" +
|
||||
"\x16history_archival_state\x18\x04 \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x14historyArchivalState\x120\n" +
|
||||
"\x14history_archival_uri\x18\x05 \x01(\tR\x12historyArchivalUri\x12`\n" +
|
||||
"\x19visibility_archival_state\x18\x06 \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x17visibilityArchivalState\x126\n" +
|
||||
"\x17visibility_archival_uri\x18\a \x01(\tR\x15visibilityArchivalUri\x12\x9c\x01\n" +
|
||||
"\x1fcustom_search_attribute_aliases\x18\b \x03(\v2U.temporal.server.api.persistence.v1.NamespaceConfig.CustomSearchAttributeAliasesEntryR\x1ccustomSearchAttributeAliases\x12m\n" +
|
||||
"\x0eworkflow_rules\x18\t \x03(\v2F.temporal.server.api.persistence.v1.NamespaceConfig.WorkflowRulesEntryR\rworkflowRules\x1aO\n" +
|
||||
"!CustomSearchAttributeAliasesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1ae\n" +
|
||||
"\x12WorkflowRulesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x129\n" +
|
||||
"\x05value\x18\x02 \x01(\v2#.temporal.api.rules.v1.WorkflowRuleR\x05value:\x028\x01\"\x86\x02\n" +
|
||||
"\x1aNamespaceReplicationConfig\x12.\n" +
|
||||
"\x13active_cluster_name\x18\x01 \x01(\tR\x11activeClusterName\x12\x1a\n" +
|
||||
"\bclusters\x18\x02 \x03(\tR\bclusters\x12=\n" +
|
||||
"\x05state\x18\x03 \x01(\x0e2'.temporal.api.enums.v1.ReplicationStateR\x05state\x12]\n" +
|
||||
"\x10failover_history\x18\b \x03(\v22.temporal.server.api.persistence.v1.FailoverStatusR\x0ffailoverHistory\"|\n" +
|
||||
"\x0eFailoverStatus\x12?\n" +
|
||||
"\rfailover_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\ffailoverTime\x12)\n" +
|
||||
"\x10failover_version\x18\x02 \x01(\x03R\x0ffailoverVersionB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_namespaces_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_namespaces_proto_rawDesc), len(file_temporal_server_api_persistence_v1_namespaces_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_namespaces_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_temporal_server_api_persistence_v1_namespaces_proto_goTypes = []any{
|
||||
(*NamespaceDetail)(nil), // 0: temporal.server.api.persistence.v1.NamespaceDetail
|
||||
(*NamespaceInfo)(nil), // 1: temporal.server.api.persistence.v1.NamespaceInfo
|
||||
(*NamespaceConfig)(nil), // 2: temporal.server.api.persistence.v1.NamespaceConfig
|
||||
(*NamespaceReplicationConfig)(nil), // 3: temporal.server.api.persistence.v1.NamespaceReplicationConfig
|
||||
(*FailoverStatus)(nil), // 4: temporal.server.api.persistence.v1.FailoverStatus
|
||||
nil, // 5: temporal.server.api.persistence.v1.NamespaceInfo.DataEntry
|
||||
nil, // 6: temporal.server.api.persistence.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry
|
||||
nil, // 7: temporal.server.api.persistence.v1.NamespaceConfig.WorkflowRulesEntry
|
||||
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
||||
(v1.NamespaceState)(0), // 9: temporal.api.enums.v1.NamespaceState
|
||||
(*durationpb.Duration)(nil), // 10: google.protobuf.Duration
|
||||
(*v11.BadBinaries)(nil), // 11: temporal.api.namespace.v1.BadBinaries
|
||||
(v1.ArchivalState)(0), // 12: temporal.api.enums.v1.ArchivalState
|
||||
(v1.ReplicationState)(0), // 13: temporal.api.enums.v1.ReplicationState
|
||||
(*v12.WorkflowRule)(nil), // 14: temporal.api.rules.v1.WorkflowRule
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_namespaces_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.persistence.v1.NamespaceDetail.info:type_name -> temporal.server.api.persistence.v1.NamespaceInfo
|
||||
2, // 1: temporal.server.api.persistence.v1.NamespaceDetail.config:type_name -> temporal.server.api.persistence.v1.NamespaceConfig
|
||||
3, // 2: temporal.server.api.persistence.v1.NamespaceDetail.replication_config:type_name -> temporal.server.api.persistence.v1.NamespaceReplicationConfig
|
||||
8, // 3: temporal.server.api.persistence.v1.NamespaceDetail.failover_end_time:type_name -> google.protobuf.Timestamp
|
||||
9, // 4: temporal.server.api.persistence.v1.NamespaceInfo.state:type_name -> temporal.api.enums.v1.NamespaceState
|
||||
5, // 5: temporal.server.api.persistence.v1.NamespaceInfo.data:type_name -> temporal.server.api.persistence.v1.NamespaceInfo.DataEntry
|
||||
10, // 6: temporal.server.api.persistence.v1.NamespaceConfig.retention:type_name -> google.protobuf.Duration
|
||||
11, // 7: temporal.server.api.persistence.v1.NamespaceConfig.bad_binaries:type_name -> temporal.api.namespace.v1.BadBinaries
|
||||
12, // 8: temporal.server.api.persistence.v1.NamespaceConfig.history_archival_state:type_name -> temporal.api.enums.v1.ArchivalState
|
||||
12, // 9: temporal.server.api.persistence.v1.NamespaceConfig.visibility_archival_state:type_name -> temporal.api.enums.v1.ArchivalState
|
||||
6, // 10: temporal.server.api.persistence.v1.NamespaceConfig.custom_search_attribute_aliases:type_name -> temporal.server.api.persistence.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry
|
||||
7, // 11: temporal.server.api.persistence.v1.NamespaceConfig.workflow_rules:type_name -> temporal.server.api.persistence.v1.NamespaceConfig.WorkflowRulesEntry
|
||||
13, // 12: temporal.server.api.persistence.v1.NamespaceReplicationConfig.state:type_name -> temporal.api.enums.v1.ReplicationState
|
||||
4, // 13: temporal.server.api.persistence.v1.NamespaceReplicationConfig.failover_history:type_name -> temporal.server.api.persistence.v1.FailoverStatus
|
||||
8, // 14: temporal.server.api.persistence.v1.FailoverStatus.failover_time:type_name -> google.protobuf.Timestamp
|
||||
14, // 15: temporal.server.api.persistence.v1.NamespaceConfig.WorkflowRulesEntry.value:type_name -> temporal.api.rules.v1.WorkflowRule
|
||||
16, // [16:16] is the sub-list for method output_type
|
||||
16, // [16:16] is the sub-list for method input_type
|
||||
16, // [16:16] is the sub-list for extension type_name
|
||||
16, // [16:16] is the sub-list for extension extendee
|
||||
0, // [0:16] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_namespaces_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_namespaces_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_namespaces_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_namespaces_proto_rawDesc), len(file_temporal_server_api_persistence_v1_namespaces_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_namespaces_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_namespaces_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_namespaces_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_namespaces_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type NexusEndpointSpec to the protobuf v3 wire format
|
||||
func (val *NexusEndpointSpec) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NexusEndpointSpec from the protobuf v3 wire format
|
||||
func (val *NexusEndpointSpec) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NexusEndpointSpec) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NexusEndpointSpec values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NexusEndpointSpec) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NexusEndpointSpec
|
||||
switch t := that.(type) {
|
||||
case *NexusEndpointSpec:
|
||||
that1 = t
|
||||
case NexusEndpointSpec:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NexusEndpointTarget to the protobuf v3 wire format
|
||||
func (val *NexusEndpointTarget) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NexusEndpointTarget from the protobuf v3 wire format
|
||||
func (val *NexusEndpointTarget) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NexusEndpointTarget) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NexusEndpointTarget values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NexusEndpointTarget) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NexusEndpointTarget
|
||||
switch t := that.(type) {
|
||||
case *NexusEndpointTarget:
|
||||
that1 = t
|
||||
case NexusEndpointTarget:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NexusEndpoint to the protobuf v3 wire format
|
||||
func (val *NexusEndpoint) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NexusEndpoint from the protobuf v3 wire format
|
||||
func (val *NexusEndpoint) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NexusEndpoint) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NexusEndpoint values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NexusEndpoint) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NexusEndpoint
|
||||
switch t := that.(type) {
|
||||
case *NexusEndpoint:
|
||||
that1 = t
|
||||
case NexusEndpoint:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NexusEndpointEntry to the protobuf v3 wire format
|
||||
func (val *NexusEndpointEntry) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NexusEndpointEntry from the protobuf v3 wire format
|
||||
func (val *NexusEndpointEntry) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NexusEndpointEntry) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NexusEndpointEntry values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NexusEndpointEntry) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NexusEndpointEntry
|
||||
switch t := that.(type) {
|
||||
case *NexusEndpointEntry:
|
||||
that1 = t
|
||||
case NexusEndpointEntry:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,509 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/nexus.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/common/v1"
|
||||
v11 "github.com/hanzoai/tasks/api/clock/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// Contains mutable fields for an Endpoint. Duplicated from the public API's temporal.api.nexus.v1.EndpointSpec where
|
||||
// the worker target has a namespace name.
|
||||
// We store an ID in persistence to prevent namespace renames from breaking references.
|
||||
type NexusEndpointSpec 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"`
|
||||
Description *v1.Payload `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Target to route requests to.
|
||||
Target *NexusEndpointTarget `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NexusEndpointSpec) Reset() {
|
||||
*x = NexusEndpointSpec{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpointSpec) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpointSpec) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpointSpec) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpointSpec.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpointSpec) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *NexusEndpointSpec) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NexusEndpointSpec) GetDescription() *v1.Payload {
|
||||
if x != nil {
|
||||
return x.Description
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NexusEndpointSpec) GetTarget() *NexusEndpointTarget {
|
||||
if x != nil {
|
||||
return x.Target
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Target to route requests to.
|
||||
// Duplicated from the public API's temporal.api.nexus.v1.EndpointTarget where the worker target has a namespace name.
|
||||
// We store an ID in persistence to prevent namespace renames from breaking references.
|
||||
type NexusEndpointTarget struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to Variant:
|
||||
//
|
||||
// *NexusEndpointTarget_Worker_
|
||||
// *NexusEndpointTarget_External_
|
||||
Variant isNexusEndpointTarget_Variant `protobuf_oneof:"variant"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget) Reset() {
|
||||
*x = NexusEndpointTarget{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpointTarget) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpointTarget) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpointTarget.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpointTarget) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget) GetVariant() isNexusEndpointTarget_Variant {
|
||||
if x != nil {
|
||||
return x.Variant
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget) GetWorker() *NexusEndpointTarget_Worker {
|
||||
if x != nil {
|
||||
if x, ok := x.Variant.(*NexusEndpointTarget_Worker_); ok {
|
||||
return x.Worker
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget) GetExternal() *NexusEndpointTarget_External {
|
||||
if x != nil {
|
||||
if x, ok := x.Variant.(*NexusEndpointTarget_External_); ok {
|
||||
return x.External
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isNexusEndpointTarget_Variant interface {
|
||||
isNexusEndpointTarget_Variant()
|
||||
}
|
||||
|
||||
type NexusEndpointTarget_Worker_ struct {
|
||||
Worker *NexusEndpointTarget_Worker `protobuf:"bytes,1,opt,name=worker,proto3,oneof"`
|
||||
}
|
||||
|
||||
type NexusEndpointTarget_External_ struct {
|
||||
External *NexusEndpointTarget_External `protobuf:"bytes,2,opt,name=external,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*NexusEndpointTarget_Worker_) isNexusEndpointTarget_Variant() {}
|
||||
|
||||
func (*NexusEndpointTarget_External_) isNexusEndpointTarget_Variant() {}
|
||||
|
||||
type NexusEndpoint struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The last recorded cluster-local Hybrid Logical Clock timestamp for _this_ endpoint.
|
||||
// Updated whenever the endpoint is directly updated due to a user action but not when applying replication events.
|
||||
// The clock is referenced when new timestamps are generated to ensure it produces monotonically increasing
|
||||
// timestamps.
|
||||
Clock *v11.HybridLogicalClock `protobuf:"bytes,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||
// Endpoint specification. This is a mirror of the public API and is intended to be mutable.
|
||||
Spec *NexusEndpointSpec `protobuf:"bytes,2,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,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NexusEndpoint) Reset() {
|
||||
*x = NexusEndpoint{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpoint) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpoint) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpoint) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpoint.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpoint) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *NexusEndpoint) GetClock() *v11.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.Clock
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NexusEndpoint) GetSpec() *NexusEndpointSpec {
|
||||
if x != nil {
|
||||
return x.Spec
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NexusEndpoint) GetCreatedTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CreatedTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Container for a version, a UUID, and a NexusEndpoint.
|
||||
type NexusEndpointEntry struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Endpoint *NexusEndpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NexusEndpointEntry) Reset() {
|
||||
*x = NexusEndpointEntry{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpointEntry) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpointEntry) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpointEntry) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpointEntry.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpointEntry) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *NexusEndpointEntry) GetVersion() int64 {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NexusEndpointEntry) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NexusEndpointEntry) GetEndpoint() *NexusEndpoint {
|
||||
if x != nil {
|
||||
return x.Endpoint
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Target a worker polling on a Nexus task queue in a specific namespace.
|
||||
type NexusEndpointTarget_Worker struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Namespace ID to route requests to.
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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 *NexusEndpointTarget_Worker) Reset() {
|
||||
*x = NexusEndpointTarget_Worker{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_Worker) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpointTarget_Worker) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpointTarget_Worker) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpointTarget_Worker.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpointTarget_Worker) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{1, 0}
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_Worker) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_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 NexusEndpointTarget_External struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// URL to call.
|
||||
// (-- api-linter: core::0140::uri=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Not following linter rules. --)
|
||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_External) Reset() {
|
||||
*x = NexusEndpointTarget_External{}
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_External) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NexusEndpointTarget_External) ProtoMessage() {}
|
||||
|
||||
func (x *NexusEndpointTarget_External) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_nexus_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 NexusEndpointTarget_External.ProtoReflect.Descriptor instead.
|
||||
func (*NexusEndpointTarget_External) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP(), []int{1, 1}
|
||||
}
|
||||
|
||||
func (x *NexusEndpointTarget_External) GetUrl() string {
|
||||
if x != nil {
|
||||
return x.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_nexus_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_nexus_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
".temporal/server/api/persistence/v1/nexus.proto\x12\"temporal.server.api.persistence.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a*temporal/server/api/clock/v1/message.proto\"\xbb\x01\n" +
|
||||
"\x11NexusEndpointSpec\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12A\n" +
|
||||
"\vdescription\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\vdescription\x12O\n" +
|
||||
"\x06target\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.NexusEndpointTargetR\x06target\"\xc4\x02\n" +
|
||||
"\x13NexusEndpointTarget\x12X\n" +
|
||||
"\x06worker\x18\x01 \x01(\v2>.temporal.server.api.persistence.v1.NexusEndpointTarget.WorkerH\x00R\x06worker\x12^\n" +
|
||||
"\bexternal\x18\x02 \x01(\v2@.temporal.server.api.persistence.v1.NexusEndpointTarget.ExternalH\x00R\bexternal\x1aJ\n" +
|
||||
"\x06Worker\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\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" +
|
||||
"\avariant\"\xe1\x01\n" +
|
||||
"\rNexusEndpoint\x12F\n" +
|
||||
"\x05clock\x18\x01 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x05clock\x12I\n" +
|
||||
"\x04spec\x18\x02 \x01(\v25.temporal.server.api.persistence.v1.NexusEndpointSpecR\x04spec\x12=\n" +
|
||||
"\fcreated_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\vcreatedTime\"\x8d\x01\n" +
|
||||
"\x12NexusEndpointEntry\x12\x18\n" +
|
||||
"\aversion\x18\x01 \x01(\x03R\aversion\x12\x0e\n" +
|
||||
"\x02id\x18\x02 \x01(\tR\x02id\x12M\n" +
|
||||
"\bendpoint\x18\x03 \x01(\v21.temporal.server.api.persistence.v1.NexusEndpointR\bendpointB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_nexus_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_nexus_proto_rawDesc), len(file_temporal_server_api_persistence_v1_nexus_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_nexus_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_nexus_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_temporal_server_api_persistence_v1_nexus_proto_goTypes = []any{
|
||||
(*NexusEndpointSpec)(nil), // 0: temporal.server.api.persistence.v1.NexusEndpointSpec
|
||||
(*NexusEndpointTarget)(nil), // 1: temporal.server.api.persistence.v1.NexusEndpointTarget
|
||||
(*NexusEndpoint)(nil), // 2: temporal.server.api.persistence.v1.NexusEndpoint
|
||||
(*NexusEndpointEntry)(nil), // 3: temporal.server.api.persistence.v1.NexusEndpointEntry
|
||||
(*NexusEndpointTarget_Worker)(nil), // 4: temporal.server.api.persistence.v1.NexusEndpointTarget.Worker
|
||||
(*NexusEndpointTarget_External)(nil), // 5: temporal.server.api.persistence.v1.NexusEndpointTarget.External
|
||||
(*v1.Payload)(nil), // 6: temporal.api.common.v1.Payload
|
||||
(*v11.HybridLogicalClock)(nil), // 7: temporal.server.api.clock.v1.HybridLogicalClock
|
||||
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_nexus_proto_depIdxs = []int32{
|
||||
6, // 0: temporal.server.api.persistence.v1.NexusEndpointSpec.description:type_name -> temporal.api.common.v1.Payload
|
||||
1, // 1: temporal.server.api.persistence.v1.NexusEndpointSpec.target:type_name -> temporal.server.api.persistence.v1.NexusEndpointTarget
|
||||
4, // 2: temporal.server.api.persistence.v1.NexusEndpointTarget.worker:type_name -> temporal.server.api.persistence.v1.NexusEndpointTarget.Worker
|
||||
5, // 3: temporal.server.api.persistence.v1.NexusEndpointTarget.external:type_name -> temporal.server.api.persistence.v1.NexusEndpointTarget.External
|
||||
7, // 4: temporal.server.api.persistence.v1.NexusEndpoint.clock:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
0, // 5: temporal.server.api.persistence.v1.NexusEndpoint.spec:type_name -> temporal.server.api.persistence.v1.NexusEndpointSpec
|
||||
8, // 6: temporal.server.api.persistence.v1.NexusEndpoint.created_time:type_name -> google.protobuf.Timestamp
|
||||
2, // 7: temporal.server.api.persistence.v1.NexusEndpointEntry.endpoint:type_name -> temporal.server.api.persistence.v1.NexusEndpoint
|
||||
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_server_api_persistence_v1_nexus_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_nexus_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_nexus_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_msgTypes[1].OneofWrappers = []any{
|
||||
(*NexusEndpointTarget_Worker_)(nil),
|
||||
(*NexusEndpointTarget_External_)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_nexus_proto_rawDesc), len(file_temporal_server_api_persistence_v1_nexus_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_nexus_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_nexus_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_nexus_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_nexus_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_nexus_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,413 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type Predicate to the protobuf v3 wire format
|
||||
func (val *Predicate) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type Predicate from the protobuf v3 wire format
|
||||
func (val *Predicate) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *Predicate) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two Predicate values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *Predicate) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *Predicate
|
||||
switch t := that.(type) {
|
||||
case *Predicate:
|
||||
that1 = t
|
||||
case Predicate:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type UniversalPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *UniversalPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type UniversalPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *UniversalPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *UniversalPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two UniversalPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *UniversalPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *UniversalPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *UniversalPredicateAttributes:
|
||||
that1 = t
|
||||
case UniversalPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type EmptyPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *EmptyPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type EmptyPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *EmptyPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *EmptyPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two EmptyPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *EmptyPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *EmptyPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *EmptyPredicateAttributes:
|
||||
that1 = t
|
||||
case EmptyPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type AndPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *AndPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type AndPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *AndPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *AndPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two AndPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *AndPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *AndPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *AndPredicateAttributes:
|
||||
that1 = t
|
||||
case AndPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type OrPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *OrPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type OrPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *OrPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *OrPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two OrPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *OrPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *OrPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *OrPredicateAttributes:
|
||||
that1 = t
|
||||
case OrPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NotPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *NotPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NotPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *NotPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NotPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NotPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NotPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NotPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *NotPredicateAttributes:
|
||||
that1 = t
|
||||
case NotPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NamespaceIdPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *NamespaceIdPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceIdPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *NamespaceIdPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceIdPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceIdPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceIdPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceIdPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *NamespaceIdPredicateAttributes:
|
||||
that1 = t
|
||||
case NamespaceIdPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskTypePredicateAttributes to the protobuf v3 wire format
|
||||
func (val *TaskTypePredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskTypePredicateAttributes from the protobuf v3 wire format
|
||||
func (val *TaskTypePredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskTypePredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskTypePredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskTypePredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskTypePredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *TaskTypePredicateAttributes:
|
||||
that1 = t
|
||||
case TaskTypePredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type DestinationPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *DestinationPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type DestinationPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *DestinationPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *DestinationPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two DestinationPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *DestinationPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *DestinationPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *DestinationPredicateAttributes:
|
||||
that1 = t
|
||||
case DestinationPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type OutboundTaskGroupPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *OutboundTaskGroupPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type OutboundTaskGroupPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *OutboundTaskGroupPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *OutboundTaskGroupPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two OutboundTaskGroupPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *OutboundTaskGroupPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *OutboundTaskGroupPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *OutboundTaskGroupPredicateAttributes:
|
||||
that1 = t
|
||||
case OutboundTaskGroupPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type OutboundTaskPredicateAttributes to the protobuf v3 wire format
|
||||
func (val *OutboundTaskPredicateAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type OutboundTaskPredicateAttributes from the protobuf v3 wire format
|
||||
func (val *OutboundTaskPredicateAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *OutboundTaskPredicateAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two OutboundTaskPredicateAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *OutboundTaskPredicateAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *OutboundTaskPredicateAttributes
|
||||
switch t := that.(type) {
|
||||
case *OutboundTaskPredicateAttributes:
|
||||
that1 = t
|
||||
case OutboundTaskPredicateAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,864 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/predicates.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "github.com/hanzoai/tasks/api/enums/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 Predicate struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PredicateType v1.PredicateType `protobuf:"varint,1,opt,name=predicate_type,json=predicateType,proto3,enum=temporal.server.api.enums.v1.PredicateType" json:"predicate_type,omitempty"`
|
||||
// Types that are valid to be assigned to Attributes:
|
||||
//
|
||||
// *Predicate_UniversalPredicateAttributes
|
||||
// *Predicate_EmptyPredicateAttributes
|
||||
// *Predicate_AndPredicateAttributes
|
||||
// *Predicate_OrPredicateAttributes
|
||||
// *Predicate_NotPredicateAttributes
|
||||
// *Predicate_NamespaceIdPredicateAttributes
|
||||
// *Predicate_TaskTypePredicateAttributes
|
||||
// *Predicate_DestinationPredicateAttributes
|
||||
// *Predicate_OutboundTaskGroupPredicateAttributes
|
||||
// *Predicate_OutboundTaskPredicateAttributes
|
||||
Attributes isPredicate_Attributes `protobuf_oneof:"attributes"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Predicate) Reset() {
|
||||
*x = Predicate{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *Predicate) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Predicate) ProtoMessage() {}
|
||||
|
||||
func (x *Predicate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 Predicate.ProtoReflect.Descriptor instead.
|
||||
func (*Predicate) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *Predicate) GetPredicateType() v1.PredicateType {
|
||||
if x != nil {
|
||||
return x.PredicateType
|
||||
}
|
||||
return v1.PredicateType(0)
|
||||
}
|
||||
|
||||
func (x *Predicate) GetAttributes() isPredicate_Attributes {
|
||||
if x != nil {
|
||||
return x.Attributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetUniversalPredicateAttributes() *UniversalPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_UniversalPredicateAttributes); ok {
|
||||
return x.UniversalPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetEmptyPredicateAttributes() *EmptyPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_EmptyPredicateAttributes); ok {
|
||||
return x.EmptyPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetAndPredicateAttributes() *AndPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_AndPredicateAttributes); ok {
|
||||
return x.AndPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetOrPredicateAttributes() *OrPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_OrPredicateAttributes); ok {
|
||||
return x.OrPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetNotPredicateAttributes() *NotPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_NotPredicateAttributes); ok {
|
||||
return x.NotPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetNamespaceIdPredicateAttributes() *NamespaceIdPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_NamespaceIdPredicateAttributes); ok {
|
||||
return x.NamespaceIdPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetTaskTypePredicateAttributes() *TaskTypePredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_TaskTypePredicateAttributes); ok {
|
||||
return x.TaskTypePredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetDestinationPredicateAttributes() *DestinationPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_DestinationPredicateAttributes); ok {
|
||||
return x.DestinationPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetOutboundTaskGroupPredicateAttributes() *OutboundTaskGroupPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_OutboundTaskGroupPredicateAttributes); ok {
|
||||
return x.OutboundTaskGroupPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Predicate) GetOutboundTaskPredicateAttributes() *OutboundTaskPredicateAttributes {
|
||||
if x != nil {
|
||||
if x, ok := x.Attributes.(*Predicate_OutboundTaskPredicateAttributes); ok {
|
||||
return x.OutboundTaskPredicateAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isPredicate_Attributes interface {
|
||||
isPredicate_Attributes()
|
||||
}
|
||||
|
||||
type Predicate_UniversalPredicateAttributes struct {
|
||||
UniversalPredicateAttributes *UniversalPredicateAttributes `protobuf:"bytes,2,opt,name=universal_predicate_attributes,json=universalPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_EmptyPredicateAttributes struct {
|
||||
EmptyPredicateAttributes *EmptyPredicateAttributes `protobuf:"bytes,3,opt,name=empty_predicate_attributes,json=emptyPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_AndPredicateAttributes struct {
|
||||
AndPredicateAttributes *AndPredicateAttributes `protobuf:"bytes,4,opt,name=and_predicate_attributes,json=andPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_OrPredicateAttributes struct {
|
||||
OrPredicateAttributes *OrPredicateAttributes `protobuf:"bytes,5,opt,name=or_predicate_attributes,json=orPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_NotPredicateAttributes struct {
|
||||
NotPredicateAttributes *NotPredicateAttributes `protobuf:"bytes,6,opt,name=not_predicate_attributes,json=notPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_NamespaceIdPredicateAttributes struct {
|
||||
NamespaceIdPredicateAttributes *NamespaceIdPredicateAttributes `protobuf:"bytes,7,opt,name=namespace_id_predicate_attributes,json=namespaceIdPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_TaskTypePredicateAttributes struct {
|
||||
TaskTypePredicateAttributes *TaskTypePredicateAttributes `protobuf:"bytes,8,opt,name=task_type_predicate_attributes,json=taskTypePredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_DestinationPredicateAttributes struct {
|
||||
DestinationPredicateAttributes *DestinationPredicateAttributes `protobuf:"bytes,9,opt,name=destination_predicate_attributes,json=destinationPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_OutboundTaskGroupPredicateAttributes struct {
|
||||
OutboundTaskGroupPredicateAttributes *OutboundTaskGroupPredicateAttributes `protobuf:"bytes,10,opt,name=outbound_task_group_predicate_attributes,json=outboundTaskGroupPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Predicate_OutboundTaskPredicateAttributes struct {
|
||||
OutboundTaskPredicateAttributes *OutboundTaskPredicateAttributes `protobuf:"bytes,11,opt,name=outbound_task_predicate_attributes,json=outboundTaskPredicateAttributes,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Predicate_UniversalPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_EmptyPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_AndPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_OrPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_NotPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_NamespaceIdPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_TaskTypePredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_DestinationPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_OutboundTaskGroupPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
func (*Predicate_OutboundTaskPredicateAttributes) isPredicate_Attributes() {}
|
||||
|
||||
type UniversalPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UniversalPredicateAttributes) Reset() {
|
||||
*x = UniversalPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UniversalPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UniversalPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *UniversalPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 UniversalPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*UniversalPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type EmptyPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *EmptyPredicateAttributes) Reset() {
|
||||
*x = EmptyPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *EmptyPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*EmptyPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *EmptyPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 EmptyPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*EmptyPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
type AndPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Predicates []*Predicate `protobuf:"bytes,1,rep,name=predicates,proto3" json:"predicates,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AndPredicateAttributes) Reset() {
|
||||
*x = AndPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AndPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AndPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *AndPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 AndPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*AndPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *AndPredicateAttributes) GetPredicates() []*Predicate {
|
||||
if x != nil {
|
||||
return x.Predicates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type OrPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Predicates []*Predicate `protobuf:"bytes,1,rep,name=predicates,proto3" json:"predicates,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OrPredicateAttributes) Reset() {
|
||||
*x = OrPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OrPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *OrPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 OrPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*OrPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *OrPredicateAttributes) GetPredicates() []*Predicate {
|
||||
if x != nil {
|
||||
return x.Predicates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NotPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Predicate *Predicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NotPredicateAttributes) Reset() {
|
||||
*x = NotPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NotPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NotPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *NotPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 NotPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*NotPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *NotPredicateAttributes) GetPredicate() *Predicate {
|
||||
if x != nil {
|
||||
return x.Predicate
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NamespaceIdPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceIds []string `protobuf:"bytes,1,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NamespaceIdPredicateAttributes) Reset() {
|
||||
*x = NamespaceIdPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NamespaceIdPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NamespaceIdPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *NamespaceIdPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 NamespaceIdPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*NamespaceIdPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *NamespaceIdPredicateAttributes) GetNamespaceIds() []string {
|
||||
if x != nil {
|
||||
return x.NamespaceIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type TaskTypePredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TaskTypes []v1.TaskType `protobuf:"varint,1,rep,packed,name=task_types,json=taskTypes,proto3,enum=temporal.server.api.enums.v1.TaskType" json:"task_types,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskTypePredicateAttributes) Reset() {
|
||||
*x = TaskTypePredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskTypePredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskTypePredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *TaskTypePredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 TaskTypePredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*TaskTypePredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *TaskTypePredicateAttributes) GetTaskTypes() []v1.TaskType {
|
||||
if x != nil {
|
||||
return x.TaskTypes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DestinationPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Destinations []string `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DestinationPredicateAttributes) Reset() {
|
||||
*x = DestinationPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DestinationPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DestinationPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *DestinationPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 DestinationPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*DestinationPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *DestinationPredicateAttributes) GetDestinations() []string {
|
||||
if x != nil {
|
||||
return x.Destinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type OutboundTaskGroupPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Groups []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OutboundTaskGroupPredicateAttributes) Reset() {
|
||||
*x = OutboundTaskGroupPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OutboundTaskGroupPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OutboundTaskGroupPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *OutboundTaskGroupPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 OutboundTaskGroupPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*OutboundTaskGroupPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *OutboundTaskGroupPredicateAttributes) GetGroups() []string {
|
||||
if x != nil {
|
||||
return x.Groups
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type OutboundTaskPredicateAttributes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Groups []*OutboundTaskPredicateAttributes_Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes) Reset() {
|
||||
*x = OutboundTaskPredicateAttributes{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OutboundTaskPredicateAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 OutboundTaskPredicateAttributes.ProtoReflect.Descriptor instead.
|
||||
func (*OutboundTaskPredicateAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes) GetGroups() []*OutboundTaskPredicateAttributes_Group {
|
||||
if x != nil {
|
||||
return x.Groups
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type OutboundTaskPredicateAttributes_Group struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TaskGroup string `protobuf:"bytes,1,opt,name=task_group,json=taskGroup,proto3" json:"task_group,omitempty"`
|
||||
NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) Reset() {
|
||||
*x = OutboundTaskPredicateAttributes_Group{}
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OutboundTaskPredicateAttributes_Group) ProtoMessage() {}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_predicates_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 OutboundTaskPredicateAttributes_Group.ProtoReflect.Descriptor instead.
|
||||
func (*OutboundTaskPredicateAttributes_Group) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP(), []int{10, 0}
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) GetTaskGroup() string {
|
||||
if x != nil {
|
||||
return x.TaskGroup
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *OutboundTaskPredicateAttributes_Group) GetDestination() string {
|
||||
if x != nil {
|
||||
return x.Destination
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_predicates_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_predicates_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"3temporal/server/api/persistence/v1/predicates.proto\x12\"temporal.server.api.persistence.v1\x1a,temporal/server/api/enums/v1/predicate.proto\x1a'temporal/server/api/enums/v1/task.proto\"\xc1\v\n" +
|
||||
"\tPredicate\x12R\n" +
|
||||
"\x0epredicate_type\x18\x01 \x01(\x0e2+.temporal.server.api.enums.v1.PredicateTypeR\rpredicateType\x12\x88\x01\n" +
|
||||
"\x1euniversal_predicate_attributes\x18\x02 \x01(\v2@.temporal.server.api.persistence.v1.UniversalPredicateAttributesH\x00R\x1cuniversalPredicateAttributes\x12|\n" +
|
||||
"\x1aempty_predicate_attributes\x18\x03 \x01(\v2<.temporal.server.api.persistence.v1.EmptyPredicateAttributesH\x00R\x18emptyPredicateAttributes\x12v\n" +
|
||||
"\x18and_predicate_attributes\x18\x04 \x01(\v2:.temporal.server.api.persistence.v1.AndPredicateAttributesH\x00R\x16andPredicateAttributes\x12s\n" +
|
||||
"\x17or_predicate_attributes\x18\x05 \x01(\v29.temporal.server.api.persistence.v1.OrPredicateAttributesH\x00R\x15orPredicateAttributes\x12v\n" +
|
||||
"\x18not_predicate_attributes\x18\x06 \x01(\v2:.temporal.server.api.persistence.v1.NotPredicateAttributesH\x00R\x16notPredicateAttributes\x12\x8f\x01\n" +
|
||||
"!namespace_id_predicate_attributes\x18\a \x01(\v2B.temporal.server.api.persistence.v1.NamespaceIdPredicateAttributesH\x00R\x1enamespaceIdPredicateAttributes\x12\x86\x01\n" +
|
||||
"\x1etask_type_predicate_attributes\x18\b \x01(\v2?.temporal.server.api.persistence.v1.TaskTypePredicateAttributesH\x00R\x1btaskTypePredicateAttributes\x12\x8e\x01\n" +
|
||||
" destination_predicate_attributes\x18\t \x01(\v2B.temporal.server.api.persistence.v1.DestinationPredicateAttributesH\x00R\x1edestinationPredicateAttributes\x12\xa2\x01\n" +
|
||||
"(outbound_task_group_predicate_attributes\x18\n" +
|
||||
" \x01(\v2H.temporal.server.api.persistence.v1.OutboundTaskGroupPredicateAttributesH\x00R$outboundTaskGroupPredicateAttributes\x12\x92\x01\n" +
|
||||
"\"outbound_task_predicate_attributes\x18\v \x01(\v2C.temporal.server.api.persistence.v1.OutboundTaskPredicateAttributesH\x00R\x1foutboundTaskPredicateAttributesB\f\n" +
|
||||
"\n" +
|
||||
"attributes\"\x1e\n" +
|
||||
"\x1cUniversalPredicateAttributes\"\x1a\n" +
|
||||
"\x18EmptyPredicateAttributes\"g\n" +
|
||||
"\x16AndPredicateAttributes\x12M\n" +
|
||||
"\n" +
|
||||
"predicates\x18\x01 \x03(\v2-.temporal.server.api.persistence.v1.PredicateR\n" +
|
||||
"predicates\"f\n" +
|
||||
"\x15OrPredicateAttributes\x12M\n" +
|
||||
"\n" +
|
||||
"predicates\x18\x01 \x03(\v2-.temporal.server.api.persistence.v1.PredicateR\n" +
|
||||
"predicates\"e\n" +
|
||||
"\x16NotPredicateAttributes\x12K\n" +
|
||||
"\tpredicate\x18\x01 \x01(\v2-.temporal.server.api.persistence.v1.PredicateR\tpredicate\"E\n" +
|
||||
"\x1eNamespaceIdPredicateAttributes\x12#\n" +
|
||||
"\rnamespace_ids\x18\x01 \x03(\tR\fnamespaceIds\"d\n" +
|
||||
"\x1bTaskTypePredicateAttributes\x12E\n" +
|
||||
"\n" +
|
||||
"task_types\x18\x01 \x03(\x0e2&.temporal.server.api.enums.v1.TaskTypeR\ttaskTypes\"D\n" +
|
||||
"\x1eDestinationPredicateAttributes\x12\"\n" +
|
||||
"\fdestinations\x18\x01 \x03(\tR\fdestinations\">\n" +
|
||||
"$OutboundTaskGroupPredicateAttributes\x12\x16\n" +
|
||||
"\x06groups\x18\x01 \x03(\tR\x06groups\"\xf1\x01\n" +
|
||||
"\x1fOutboundTaskPredicateAttributes\x12a\n" +
|
||||
"\x06groups\x18\x01 \x03(\v2I.temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes.GroupR\x06groups\x1ak\n" +
|
||||
"\x05Group\x12\x1d\n" +
|
||||
"\n" +
|
||||
"task_group\x18\x01 \x01(\tR\ttaskGroup\x12!\n" +
|
||||
"\fnamespace_id\x18\x02 \x01(\tR\vnamespaceId\x12 \n" +
|
||||
"\vdestination\x18\x03 \x01(\tR\vdestinationB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_predicates_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_predicates_proto_rawDesc), len(file_temporal_server_api_persistence_v1_predicates_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_predicates_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_predicates_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_temporal_server_api_persistence_v1_predicates_proto_goTypes = []any{
|
||||
(*Predicate)(nil), // 0: temporal.server.api.persistence.v1.Predicate
|
||||
(*UniversalPredicateAttributes)(nil), // 1: temporal.server.api.persistence.v1.UniversalPredicateAttributes
|
||||
(*EmptyPredicateAttributes)(nil), // 2: temporal.server.api.persistence.v1.EmptyPredicateAttributes
|
||||
(*AndPredicateAttributes)(nil), // 3: temporal.server.api.persistence.v1.AndPredicateAttributes
|
||||
(*OrPredicateAttributes)(nil), // 4: temporal.server.api.persistence.v1.OrPredicateAttributes
|
||||
(*NotPredicateAttributes)(nil), // 5: temporal.server.api.persistence.v1.NotPredicateAttributes
|
||||
(*NamespaceIdPredicateAttributes)(nil), // 6: temporal.server.api.persistence.v1.NamespaceIdPredicateAttributes
|
||||
(*TaskTypePredicateAttributes)(nil), // 7: temporal.server.api.persistence.v1.TaskTypePredicateAttributes
|
||||
(*DestinationPredicateAttributes)(nil), // 8: temporal.server.api.persistence.v1.DestinationPredicateAttributes
|
||||
(*OutboundTaskGroupPredicateAttributes)(nil), // 9: temporal.server.api.persistence.v1.OutboundTaskGroupPredicateAttributes
|
||||
(*OutboundTaskPredicateAttributes)(nil), // 10: temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes
|
||||
(*OutboundTaskPredicateAttributes_Group)(nil), // 11: temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes.Group
|
||||
(v1.PredicateType)(0), // 12: temporal.server.api.enums.v1.PredicateType
|
||||
(v1.TaskType)(0), // 13: temporal.server.api.enums.v1.TaskType
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_predicates_proto_depIdxs = []int32{
|
||||
12, // 0: temporal.server.api.persistence.v1.Predicate.predicate_type:type_name -> temporal.server.api.enums.v1.PredicateType
|
||||
1, // 1: temporal.server.api.persistence.v1.Predicate.universal_predicate_attributes:type_name -> temporal.server.api.persistence.v1.UniversalPredicateAttributes
|
||||
2, // 2: temporal.server.api.persistence.v1.Predicate.empty_predicate_attributes:type_name -> temporal.server.api.persistence.v1.EmptyPredicateAttributes
|
||||
3, // 3: temporal.server.api.persistence.v1.Predicate.and_predicate_attributes:type_name -> temporal.server.api.persistence.v1.AndPredicateAttributes
|
||||
4, // 4: temporal.server.api.persistence.v1.Predicate.or_predicate_attributes:type_name -> temporal.server.api.persistence.v1.OrPredicateAttributes
|
||||
5, // 5: temporal.server.api.persistence.v1.Predicate.not_predicate_attributes:type_name -> temporal.server.api.persistence.v1.NotPredicateAttributes
|
||||
6, // 6: temporal.server.api.persistence.v1.Predicate.namespace_id_predicate_attributes:type_name -> temporal.server.api.persistence.v1.NamespaceIdPredicateAttributes
|
||||
7, // 7: temporal.server.api.persistence.v1.Predicate.task_type_predicate_attributes:type_name -> temporal.server.api.persistence.v1.TaskTypePredicateAttributes
|
||||
8, // 8: temporal.server.api.persistence.v1.Predicate.destination_predicate_attributes:type_name -> temporal.server.api.persistence.v1.DestinationPredicateAttributes
|
||||
9, // 9: temporal.server.api.persistence.v1.Predicate.outbound_task_group_predicate_attributes:type_name -> temporal.server.api.persistence.v1.OutboundTaskGroupPredicateAttributes
|
||||
10, // 10: temporal.server.api.persistence.v1.Predicate.outbound_task_predicate_attributes:type_name -> temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes
|
||||
0, // 11: temporal.server.api.persistence.v1.AndPredicateAttributes.predicates:type_name -> temporal.server.api.persistence.v1.Predicate
|
||||
0, // 12: temporal.server.api.persistence.v1.OrPredicateAttributes.predicates:type_name -> temporal.server.api.persistence.v1.Predicate
|
||||
0, // 13: temporal.server.api.persistence.v1.NotPredicateAttributes.predicate:type_name -> temporal.server.api.persistence.v1.Predicate
|
||||
13, // 14: temporal.server.api.persistence.v1.TaskTypePredicateAttributes.task_types:type_name -> temporal.server.api.enums.v1.TaskType
|
||||
11, // 15: temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes.groups:type_name -> temporal.server.api.persistence.v1.OutboundTaskPredicateAttributes.Group
|
||||
16, // [16:16] is the sub-list for method output_type
|
||||
16, // [16:16] is the sub-list for method input_type
|
||||
16, // [16:16] is the sub-list for extension type_name
|
||||
16, // [16:16] is the sub-list for extension extendee
|
||||
0, // [0:16] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_predicates_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_predicates_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_predicates_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*Predicate_UniversalPredicateAttributes)(nil),
|
||||
(*Predicate_EmptyPredicateAttributes)(nil),
|
||||
(*Predicate_AndPredicateAttributes)(nil),
|
||||
(*Predicate_OrPredicateAttributes)(nil),
|
||||
(*Predicate_NotPredicateAttributes)(nil),
|
||||
(*Predicate_NamespaceIdPredicateAttributes)(nil),
|
||||
(*Predicate_TaskTypePredicateAttributes)(nil),
|
||||
(*Predicate_DestinationPredicateAttributes)(nil),
|
||||
(*Predicate_OutboundTaskGroupPredicateAttributes)(nil),
|
||||
(*Predicate_OutboundTaskPredicateAttributes)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_predicates_proto_rawDesc), len(file_temporal_server_api_persistence_v1_predicates_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_predicates_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_predicates_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_predicates_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_predicates_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type QueueMetadata to the protobuf v3 wire format
|
||||
func (val *QueueMetadata) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueueMetadata from the protobuf v3 wire format
|
||||
func (val *QueueMetadata) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueueMetadata) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueueMetadata values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueueMetadata) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueueMetadata
|
||||
switch t := that.(type) {
|
||||
case *QueueMetadata:
|
||||
that1 = t
|
||||
case QueueMetadata:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,129 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/queue_metadata.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// data column
|
||||
type QueueMetadata struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ClusterAckLevels map[string]int64 `protobuf:"bytes,1,rep,name=cluster_ack_levels,json=clusterAckLevels,proto3" json:"cluster_ack_levels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueueMetadata) Reset() {
|
||||
*x = QueueMetadata{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueueMetadata) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueueMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *QueueMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queue_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 QueueMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*QueueMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *QueueMetadata) GetClusterAckLevels() map[string]int64 {
|
||||
if x != nil {
|
||||
return x.ClusterAckLevels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_queue_metadata_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"7temporal/server/api/persistence/v1/queue_metadata.proto\x12\"temporal.server.api.persistence.v1\"\xcb\x01\n" +
|
||||
"\rQueueMetadata\x12u\n" +
|
||||
"\x12cluster_ack_levels\x18\x01 \x03(\v2G.temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntryR\x10clusterAckLevels\x1aC\n" +
|
||||
"\x15ClusterAckLevelsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01B6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes = []any{
|
||||
(*QueueMetadata)(nil), // 0: temporal.server.api.persistence.v1.QueueMetadata
|
||||
nil, // 1: temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntry
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.persistence.v1.QueueMetadata.cluster_ack_levels:type_name -> temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntry
|
||||
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_server_api_persistence_v1_queue_metadata_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_queue_metadata_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_queue_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_server_api_persistence_v1_queue_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_queue_metadata_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,339 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type QueueState to the protobuf v3 wire format
|
||||
func (val *QueueState) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueueState from the protobuf v3 wire format
|
||||
func (val *QueueState) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueueState) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueueState values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueueState) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueueState
|
||||
switch t := that.(type) {
|
||||
case *QueueState:
|
||||
that1 = t
|
||||
case QueueState:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type QueueReaderState to the protobuf v3 wire format
|
||||
func (val *QueueReaderState) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueueReaderState from the protobuf v3 wire format
|
||||
func (val *QueueReaderState) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueueReaderState) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueueReaderState values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueueReaderState) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueueReaderState
|
||||
switch t := that.(type) {
|
||||
case *QueueReaderState:
|
||||
that1 = t
|
||||
case QueueReaderState:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type QueueSliceScope to the protobuf v3 wire format
|
||||
func (val *QueueSliceScope) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueueSliceScope from the protobuf v3 wire format
|
||||
func (val *QueueSliceScope) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueueSliceScope) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueueSliceScope values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueueSliceScope) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueueSliceScope
|
||||
switch t := that.(type) {
|
||||
case *QueueSliceScope:
|
||||
that1 = t
|
||||
case QueueSliceScope:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type QueueSliceRange to the protobuf v3 wire format
|
||||
func (val *QueueSliceRange) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueueSliceRange from the protobuf v3 wire format
|
||||
func (val *QueueSliceRange) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueueSliceRange) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueueSliceRange values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueueSliceRange) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueueSliceRange
|
||||
switch t := that.(type) {
|
||||
case *QueueSliceRange:
|
||||
that1 = t
|
||||
case QueueSliceRange:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ReadQueueMessagesNextPageToken to the protobuf v3 wire format
|
||||
func (val *ReadQueueMessagesNextPageToken) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReadQueueMessagesNextPageToken from the protobuf v3 wire format
|
||||
func (val *ReadQueueMessagesNextPageToken) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReadQueueMessagesNextPageToken) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReadQueueMessagesNextPageToken values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReadQueueMessagesNextPageToken) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReadQueueMessagesNextPageToken
|
||||
switch t := that.(type) {
|
||||
case *ReadQueueMessagesNextPageToken:
|
||||
that1 = t
|
||||
case ReadQueueMessagesNextPageToken:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ListQueuesNextPageToken to the protobuf v3 wire format
|
||||
func (val *ListQueuesNextPageToken) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ListQueuesNextPageToken from the protobuf v3 wire format
|
||||
func (val *ListQueuesNextPageToken) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ListQueuesNextPageToken) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ListQueuesNextPageToken values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ListQueuesNextPageToken) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ListQueuesNextPageToken
|
||||
switch t := that.(type) {
|
||||
case *ListQueuesNextPageToken:
|
||||
that1 = t
|
||||
case ListQueuesNextPageToken:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryTask to the protobuf v3 wire format
|
||||
func (val *HistoryTask) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryTask from the protobuf v3 wire format
|
||||
func (val *HistoryTask) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryTask) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryTask values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryTask) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryTask
|
||||
switch t := that.(type) {
|
||||
case *HistoryTask:
|
||||
that1 = t
|
||||
case HistoryTask:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type QueuePartition to the protobuf v3 wire format
|
||||
func (val *QueuePartition) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type QueuePartition from the protobuf v3 wire format
|
||||
func (val *QueuePartition) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *QueuePartition) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two QueuePartition values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *QueuePartition) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *QueuePartition
|
||||
switch t := that.(type) {
|
||||
case *QueuePartition:
|
||||
that1 = t
|
||||
case QueuePartition:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type Queue to the protobuf v3 wire format
|
||||
func (val *Queue) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type Queue from the protobuf v3 wire format
|
||||
func (val *Queue) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *Queue) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two Queue values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *Queue) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *Queue
|
||||
switch t := that.(type) {
|
||||
case *Queue:
|
||||
that1 = t
|
||||
case Queue:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,584 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/queues.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/common/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 QueueState struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ReaderStates map[int64]*QueueReaderState `protobuf:"bytes,1,rep,name=reader_states,json=readerStates,proto3" json:"reader_states,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ExclusiveReaderHighWatermark *TaskKey `protobuf:"bytes,2,opt,name=exclusive_reader_high_watermark,json=exclusiveReaderHighWatermark,proto3" json:"exclusive_reader_high_watermark,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueueState) Reset() {
|
||||
*x = QueueState{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueueState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueueState) ProtoMessage() {}
|
||||
|
||||
func (x *QueueState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 QueueState.ProtoReflect.Descriptor instead.
|
||||
func (*QueueState) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *QueueState) GetReaderStates() map[int64]*QueueReaderState {
|
||||
if x != nil {
|
||||
return x.ReaderStates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *QueueState) GetExclusiveReaderHighWatermark() *TaskKey {
|
||||
if x != nil {
|
||||
return x.ExclusiveReaderHighWatermark
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueueReaderState struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Scopes []*QueueSliceScope `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueueReaderState) Reset() {
|
||||
*x = QueueReaderState{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueueReaderState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueueReaderState) ProtoMessage() {}
|
||||
|
||||
func (x *QueueReaderState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 QueueReaderState.ProtoReflect.Descriptor instead.
|
||||
func (*QueueReaderState) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *QueueReaderState) GetScopes() []*QueueSliceScope {
|
||||
if x != nil {
|
||||
return x.Scopes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueueSliceScope struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Range *QueueSliceRange `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"`
|
||||
Predicate *Predicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueueSliceScope) Reset() {
|
||||
*x = QueueSliceScope{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueueSliceScope) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueueSliceScope) ProtoMessage() {}
|
||||
|
||||
func (x *QueueSliceScope) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 QueueSliceScope.ProtoReflect.Descriptor instead.
|
||||
func (*QueueSliceScope) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *QueueSliceScope) GetRange() *QueueSliceRange {
|
||||
if x != nil {
|
||||
return x.Range
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *QueueSliceScope) GetPredicate() *Predicate {
|
||||
if x != nil {
|
||||
return x.Predicate
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueueSliceRange struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
InclusiveMin *TaskKey `protobuf:"bytes,1,opt,name=inclusive_min,json=inclusiveMin,proto3" json:"inclusive_min,omitempty"`
|
||||
ExclusiveMax *TaskKey `protobuf:"bytes,2,opt,name=exclusive_max,json=exclusiveMax,proto3" json:"exclusive_max,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueueSliceRange) Reset() {
|
||||
*x = QueueSliceRange{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueueSliceRange) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueueSliceRange) ProtoMessage() {}
|
||||
|
||||
func (x *QueueSliceRange) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 QueueSliceRange.ProtoReflect.Descriptor instead.
|
||||
func (*QueueSliceRange) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *QueueSliceRange) GetInclusiveMin() *TaskKey {
|
||||
if x != nil {
|
||||
return x.InclusiveMin
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *QueueSliceRange) GetExclusiveMax() *TaskKey {
|
||||
if x != nil {
|
||||
return x.ExclusiveMax
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ReadQueueMessagesNextPageToken struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
LastReadMessageId int64 `protobuf:"varint,1,opt,name=last_read_message_id,json=lastReadMessageId,proto3" json:"last_read_message_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ReadQueueMessagesNextPageToken) Reset() {
|
||||
*x = ReadQueueMessagesNextPageToken{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ReadQueueMessagesNextPageToken) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ReadQueueMessagesNextPageToken) ProtoMessage() {}
|
||||
|
||||
func (x *ReadQueueMessagesNextPageToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 ReadQueueMessagesNextPageToken.ProtoReflect.Descriptor instead.
|
||||
func (*ReadQueueMessagesNextPageToken) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ReadQueueMessagesNextPageToken) GetLastReadMessageId() int64 {
|
||||
if x != nil {
|
||||
return x.LastReadMessageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ListQueuesNextPageToken struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
LastReadQueueNumber int64 `protobuf:"varint,1,opt,name=last_read_queue_number,json=lastReadQueueNumber,proto3" json:"last_read_queue_number,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListQueuesNextPageToken) Reset() {
|
||||
*x = ListQueuesNextPageToken{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListQueuesNextPageToken) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListQueuesNextPageToken) ProtoMessage() {}
|
||||
|
||||
func (x *ListQueuesNextPageToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 ListQueuesNextPageToken.ProtoReflect.Descriptor instead.
|
||||
func (*ListQueuesNextPageToken) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ListQueuesNextPageToken) GetLastReadQueueNumber() int64 {
|
||||
if x != nil {
|
||||
return x.LastReadQueueNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// HistoryTask represents an internal history service task for a particular shard. We use a blob because there is no
|
||||
// common proto for all task proto types.
|
||||
type HistoryTask struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// shard_id that this task belonged to when it was created. Technically, you can derive this from the task data
|
||||
// blob, but it's useful to have it here for quick access and to avoid deserializing the blob. Note that this may be
|
||||
// different from the shard id of this task in the current cluster because it could have come from a cluster with a
|
||||
// different shard id. This will always be the shard id of the task in its original cluster.
|
||||
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
||||
// blob that contains the history task proto. There is a GoLang-specific generic deserializer for this blob, but
|
||||
// there is no common proto for all task proto types, so deserializing in other languages will require a custom
|
||||
// switch on the task category, which should be available from the metadata for the queue that this task came from.
|
||||
Blob *v1.DataBlob `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HistoryTask) Reset() {
|
||||
*x = HistoryTask{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HistoryTask) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HistoryTask) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryTask) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 HistoryTask.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryTask) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *HistoryTask) GetShardId() int32 {
|
||||
if x != nil {
|
||||
return x.ShardId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryTask) GetBlob() *v1.DataBlob {
|
||||
if x != nil {
|
||||
return x.Blob
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueuePartition struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// min_message_id is less than or equal to the id of every message in the queue. The min_message_id is mainly used to
|
||||
// skip over tombstones in Cassandra: let's say we deleted the first 1K messages from a queue with 1.1K messages. If
|
||||
//
|
||||
// an operator asked for the first 100 messages, without the min_message_id, we would have to scan over the 1K
|
||||
//
|
||||
// tombstone rows before we could return the 100 messages. With the min_message_id, we can skip over all of the
|
||||
// tombstones by specifying message_id >= queue.min_message_id. Note: it is possible for this to be less than the id
|
||||
// of the lowest message in the queue temporarily because we delete messages before we update the queue metadata.
|
||||
// However, such errors surface to clients with an "Unavailable" code, so clients retry, and the id should be updated
|
||||
// soon. Additionally, we only use min_message_id to skip over tombstones, so it will only affect read performance,
|
||||
// not correctness.
|
||||
MinMessageId int64 `protobuf:"varint,1,opt,name=min_message_id,json=minMessageId,proto3" json:"min_message_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *QueuePartition) Reset() {
|
||||
*x = QueuePartition{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *QueuePartition) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QueuePartition) ProtoMessage() {}
|
||||
|
||||
func (x *QueuePartition) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 QueuePartition.ProtoReflect.Descriptor instead.
|
||||
func (*QueuePartition) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *QueuePartition) GetMinMessageId() int64 {
|
||||
if x != nil {
|
||||
return x.MinMessageId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type Queue struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// A map from partition index (0-based) to the partition metadata.
|
||||
Partitions map[int32]*QueuePartition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Queue) Reset() {
|
||||
*x = Queue{}
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *Queue) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Queue) ProtoMessage() {}
|
||||
|
||||
func (x *Queue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_queues_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 Queue.ProtoReflect.Descriptor instead.
|
||||
func (*Queue) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *Queue) GetPartitions() map[int32]*QueuePartition {
|
||||
if x != nil {
|
||||
return x.Partitions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_queues_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_queues_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"/temporal/server/api/persistence/v1/queues.proto\x12\"temporal.server.api.persistence.v1\x1a$temporal/api/common/v1/message.proto\x1a3temporal/server/api/persistence/v1/predicates.proto\x1a.temporal/server/api/persistence/v1/tasks.proto\"\xde\x02\n" +
|
||||
"\n" +
|
||||
"QueueState\x12e\n" +
|
||||
"\rreader_states\x18\x01 \x03(\v2@.temporal.server.api.persistence.v1.QueueState.ReaderStatesEntryR\freaderStates\x12r\n" +
|
||||
"\x1fexclusive_reader_high_watermark\x18\x02 \x01(\v2+.temporal.server.api.persistence.v1.TaskKeyR\x1cexclusiveReaderHighWatermark\x1au\n" +
|
||||
"\x11ReaderStatesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12J\n" +
|
||||
"\x05value\x18\x02 \x01(\v24.temporal.server.api.persistence.v1.QueueReaderStateR\x05value:\x028\x01\"_\n" +
|
||||
"\x10QueueReaderState\x12K\n" +
|
||||
"\x06scopes\x18\x01 \x03(\v23.temporal.server.api.persistence.v1.QueueSliceScopeR\x06scopes\"\xa9\x01\n" +
|
||||
"\x0fQueueSliceScope\x12I\n" +
|
||||
"\x05range\x18\x01 \x01(\v23.temporal.server.api.persistence.v1.QueueSliceRangeR\x05range\x12K\n" +
|
||||
"\tpredicate\x18\x02 \x01(\v2-.temporal.server.api.persistence.v1.PredicateR\tpredicate\"\xb5\x01\n" +
|
||||
"\x0fQueueSliceRange\x12P\n" +
|
||||
"\rinclusive_min\x18\x01 \x01(\v2+.temporal.server.api.persistence.v1.TaskKeyR\finclusiveMin\x12P\n" +
|
||||
"\rexclusive_max\x18\x02 \x01(\v2+.temporal.server.api.persistence.v1.TaskKeyR\fexclusiveMax\"Q\n" +
|
||||
"\x1eReadQueueMessagesNextPageToken\x12/\n" +
|
||||
"\x14last_read_message_id\x18\x01 \x01(\x03R\x11lastReadMessageId\"N\n" +
|
||||
"\x17ListQueuesNextPageToken\x123\n" +
|
||||
"\x16last_read_queue_number\x18\x01 \x01(\x03R\x13lastReadQueueNumber\"^\n" +
|
||||
"\vHistoryTask\x12\x19\n" +
|
||||
"\bshard_id\x18\x01 \x01(\x05R\ashardId\x124\n" +
|
||||
"\x04blob\x18\x02 \x01(\v2 .temporal.api.common.v1.DataBlobR\x04blob\"6\n" +
|
||||
"\x0eQueuePartition\x12$\n" +
|
||||
"\x0emin_message_id\x18\x01 \x01(\x03R\fminMessageId\"\xd5\x01\n" +
|
||||
"\x05Queue\x12Y\n" +
|
||||
"\n" +
|
||||
"partitions\x18\x01 \x03(\v29.temporal.server.api.persistence.v1.Queue.PartitionsEntryR\n" +
|
||||
"partitions\x1aq\n" +
|
||||
"\x0fPartitionsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x05R\x03key\x12H\n" +
|
||||
"\x05value\x18\x02 \x01(\v22.temporal.server.api.persistence.v1.QueuePartitionR\x05value:\x028\x01B6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_queues_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_queues_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_queues_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_queues_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_queues_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_queues_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queues_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_queues_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_queues_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_temporal_server_api_persistence_v1_queues_proto_goTypes = []any{
|
||||
(*QueueState)(nil), // 0: temporal.server.api.persistence.v1.QueueState
|
||||
(*QueueReaderState)(nil), // 1: temporal.server.api.persistence.v1.QueueReaderState
|
||||
(*QueueSliceScope)(nil), // 2: temporal.server.api.persistence.v1.QueueSliceScope
|
||||
(*QueueSliceRange)(nil), // 3: temporal.server.api.persistence.v1.QueueSliceRange
|
||||
(*ReadQueueMessagesNextPageToken)(nil), // 4: temporal.server.api.persistence.v1.ReadQueueMessagesNextPageToken
|
||||
(*ListQueuesNextPageToken)(nil), // 5: temporal.server.api.persistence.v1.ListQueuesNextPageToken
|
||||
(*HistoryTask)(nil), // 6: temporal.server.api.persistence.v1.HistoryTask
|
||||
(*QueuePartition)(nil), // 7: temporal.server.api.persistence.v1.QueuePartition
|
||||
(*Queue)(nil), // 8: temporal.server.api.persistence.v1.Queue
|
||||
nil, // 9: temporal.server.api.persistence.v1.QueueState.ReaderStatesEntry
|
||||
nil, // 10: temporal.server.api.persistence.v1.Queue.PartitionsEntry
|
||||
(*TaskKey)(nil), // 11: temporal.server.api.persistence.v1.TaskKey
|
||||
(*Predicate)(nil), // 12: temporal.server.api.persistence.v1.Predicate
|
||||
(*v1.DataBlob)(nil), // 13: temporal.api.common.v1.DataBlob
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_queues_proto_depIdxs = []int32{
|
||||
9, // 0: temporal.server.api.persistence.v1.QueueState.reader_states:type_name -> temporal.server.api.persistence.v1.QueueState.ReaderStatesEntry
|
||||
11, // 1: temporal.server.api.persistence.v1.QueueState.exclusive_reader_high_watermark:type_name -> temporal.server.api.persistence.v1.TaskKey
|
||||
2, // 2: temporal.server.api.persistence.v1.QueueReaderState.scopes:type_name -> temporal.server.api.persistence.v1.QueueSliceScope
|
||||
3, // 3: temporal.server.api.persistence.v1.QueueSliceScope.range:type_name -> temporal.server.api.persistence.v1.QueueSliceRange
|
||||
12, // 4: temporal.server.api.persistence.v1.QueueSliceScope.predicate:type_name -> temporal.server.api.persistence.v1.Predicate
|
||||
11, // 5: temporal.server.api.persistence.v1.QueueSliceRange.inclusive_min:type_name -> temporal.server.api.persistence.v1.TaskKey
|
||||
11, // 6: temporal.server.api.persistence.v1.QueueSliceRange.exclusive_max:type_name -> temporal.server.api.persistence.v1.TaskKey
|
||||
13, // 7: temporal.server.api.persistence.v1.HistoryTask.blob:type_name -> temporal.api.common.v1.DataBlob
|
||||
10, // 8: temporal.server.api.persistence.v1.Queue.partitions:type_name -> temporal.server.api.persistence.v1.Queue.PartitionsEntry
|
||||
1, // 9: temporal.server.api.persistence.v1.QueueState.ReaderStatesEntry.value:type_name -> temporal.server.api.persistence.v1.QueueReaderState
|
||||
7, // 10: temporal.server.api.persistence.v1.Queue.PartitionsEntry.value:type_name -> temporal.server.api.persistence.v1.QueuePartition
|
||||
11, // [11:11] is the sub-list for method output_type
|
||||
11, // [11:11] is the sub-list for method input_type
|
||||
11, // [11:11] is the sub-list for extension type_name
|
||||
11, // [11:11] is the sub-list for extension extendee
|
||||
0, // [0:11] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_queues_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_queues_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_queues_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_predicates_proto_init()
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_queues_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queues_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_queues_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_queues_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_queues_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_queues_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_queues_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_queues_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,376 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type BuildId to the protobuf v3 wire format
|
||||
func (val *BuildId) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type BuildId from the protobuf v3 wire format
|
||||
func (val *BuildId) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *BuildId) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two BuildId values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *BuildId) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *BuildId
|
||||
switch t := that.(type) {
|
||||
case *BuildId:
|
||||
that1 = t
|
||||
case BuildId:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type CompatibleVersionSet to the protobuf v3 wire format
|
||||
func (val *CompatibleVersionSet) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type CompatibleVersionSet from the protobuf v3 wire format
|
||||
func (val *CompatibleVersionSet) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *CompatibleVersionSet) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two CompatibleVersionSet values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *CompatibleVersionSet) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *CompatibleVersionSet
|
||||
switch t := that.(type) {
|
||||
case *CompatibleVersionSet:
|
||||
that1 = t
|
||||
case CompatibleVersionSet:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type AssignmentRule to the protobuf v3 wire format
|
||||
func (val *AssignmentRule) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type AssignmentRule from the protobuf v3 wire format
|
||||
func (val *AssignmentRule) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *AssignmentRule) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two AssignmentRule values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *AssignmentRule) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *AssignmentRule
|
||||
switch t := that.(type) {
|
||||
case *AssignmentRule:
|
||||
that1 = t
|
||||
case AssignmentRule:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type RedirectRule to the protobuf v3 wire format
|
||||
func (val *RedirectRule) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type RedirectRule from the protobuf v3 wire format
|
||||
func (val *RedirectRule) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *RedirectRule) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two RedirectRule values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *RedirectRule) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *RedirectRule
|
||||
switch t := that.(type) {
|
||||
case *RedirectRule:
|
||||
that1 = t
|
||||
case RedirectRule:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersioningData to the protobuf v3 wire format
|
||||
func (val *VersioningData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersioningData from the protobuf v3 wire format
|
||||
func (val *VersioningData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersioningData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersioningData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersioningData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersioningData
|
||||
switch t := that.(type) {
|
||||
case *VersioningData:
|
||||
that1 = t
|
||||
case VersioningData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type DeploymentData to the protobuf v3 wire format
|
||||
func (val *DeploymentData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type DeploymentData from the protobuf v3 wire format
|
||||
func (val *DeploymentData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *DeploymentData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two DeploymentData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *DeploymentData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *DeploymentData
|
||||
switch t := that.(type) {
|
||||
case *DeploymentData:
|
||||
that1 = t
|
||||
case DeploymentData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type WorkerDeploymentData to the protobuf v3 wire format
|
||||
func (val *WorkerDeploymentData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type WorkerDeploymentData from the protobuf v3 wire format
|
||||
func (val *WorkerDeploymentData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *WorkerDeploymentData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two WorkerDeploymentData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *WorkerDeploymentData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *WorkerDeploymentData
|
||||
switch t := that.(type) {
|
||||
case *WorkerDeploymentData:
|
||||
that1 = t
|
||||
case WorkerDeploymentData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskQueueTypeUserData to the protobuf v3 wire format
|
||||
func (val *TaskQueueTypeUserData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskQueueTypeUserData from the protobuf v3 wire format
|
||||
func (val *TaskQueueTypeUserData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskQueueTypeUserData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskQueueTypeUserData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskQueueTypeUserData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskQueueTypeUserData
|
||||
switch t := that.(type) {
|
||||
case *TaskQueueTypeUserData:
|
||||
that1 = t
|
||||
case TaskQueueTypeUserData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskQueueUserData to the protobuf v3 wire format
|
||||
func (val *TaskQueueUserData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskQueueUserData from the protobuf v3 wire format
|
||||
func (val *TaskQueueUserData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskQueueUserData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskQueueUserData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskQueueUserData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskQueueUserData
|
||||
switch t := that.(type) {
|
||||
case *TaskQueueUserData:
|
||||
that1 = t
|
||||
case TaskQueueUserData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionedTaskQueueUserData to the protobuf v3 wire format
|
||||
func (val *VersionedTaskQueueUserData) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionedTaskQueueUserData from the protobuf v3 wire format
|
||||
func (val *VersionedTaskQueueUserData) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionedTaskQueueUserData) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionedTaskQueueUserData values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionedTaskQueueUserData) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionedTaskQueueUserData
|
||||
switch t := that.(type) {
|
||||
case *VersionedTaskQueueUserData:
|
||||
that1 = t
|
||||
case VersionedTaskQueueUserData:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,924 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/task_queues.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
"strconv"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v13 "go.temporal.io/api/deployment/v1"
|
||||
v11 "go.temporal.io/api/taskqueue/v1"
|
||||
v1 "github.com/hanzoai/tasks/api/clock/v1"
|
||||
v12 "github.com/hanzoai/tasks/api/deployment/v1"
|
||||
v14 "github.com/hanzoai/tasks/api/enums/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 BuildId_State int32
|
||||
|
||||
const (
|
||||
STATE_UNSPECIFIED BuildId_State = 0
|
||||
STATE_ACTIVE BuildId_State = 1
|
||||
STATE_DELETED BuildId_State = 2
|
||||
)
|
||||
|
||||
// Enum value maps for BuildId_State.
|
||||
var (
|
||||
BuildId_State_name = map[int32]string{
|
||||
0: "STATE_UNSPECIFIED",
|
||||
1: "STATE_ACTIVE",
|
||||
2: "STATE_DELETED",
|
||||
}
|
||||
BuildId_State_value = map[string]int32{
|
||||
"STATE_UNSPECIFIED": 0,
|
||||
"STATE_ACTIVE": 1,
|
||||
"STATE_DELETED": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BuildId_State) Enum() *BuildId_State {
|
||||
p := new(BuildId_State)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BuildId_State) String() string {
|
||||
switch x {
|
||||
case STATE_UNSPECIFIED:
|
||||
return "StateUnspecified"
|
||||
case STATE_ACTIVE:
|
||||
return "StateActive"
|
||||
case STATE_DELETED:
|
||||
return "StateDeleted"
|
||||
default:
|
||||
return strconv.Itoa(int(x))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (BuildId_State) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (BuildId_State) Type() protoreflect.EnumType {
|
||||
return &file_temporal_server_api_persistence_v1_task_queues_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x BuildId_State) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BuildId_State.Descriptor instead.
|
||||
func (BuildId_State) EnumDescriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
// BuildId is an identifier with a timestamped status used to identify workers for task queue versioning purposes.
|
||||
type BuildId struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
State BuildId_State `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.server.api.persistence.v1.BuildId_State" json:"state,omitempty"`
|
||||
// HLC timestamp representing when the state was updated or the when build ID was originally inserted.
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
StateUpdateTimestamp *v1.HybridLogicalClock `protobuf:"bytes,3,opt,name=state_update_timestamp,json=stateUpdateTimestamp,proto3" json:"state_update_timestamp,omitempty"`
|
||||
// HLC timestamp representing when this build ID was last made default in its version set.
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
BecameDefaultTimestamp *v1.HybridLogicalClock `protobuf:"bytes,4,opt,name=became_default_timestamp,json=becameDefaultTimestamp,proto3" json:"became_default_timestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BuildId) Reset() {
|
||||
*x = BuildId{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BuildId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BuildId) ProtoMessage() {}
|
||||
|
||||
func (x *BuildId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 BuildId.ProtoReflect.Descriptor instead.
|
||||
func (*BuildId) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *BuildId) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BuildId) GetState() BuildId_State {
|
||||
if x != nil {
|
||||
return x.State
|
||||
}
|
||||
return STATE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (x *BuildId) GetStateUpdateTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.StateUpdateTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BuildId) GetBecameDefaultTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.BecameDefaultTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An internal representation of temporal.api.taskqueue.v1.CompatibleVersionSet
|
||||
type CompatibleVersionSet struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Set IDs are used internally by matching.
|
||||
// A set typically has one set ID and extra care is taken to enforce this.
|
||||
// In some situations, including:
|
||||
// - Replication race between task queue user data and history events
|
||||
// - Replication split-brain + later merge
|
||||
// - Delayed user data propagation between partitions
|
||||
// - Cross-task-queue activities/child workflows/CAN where the user has not set up parallel
|
||||
// versioning data
|
||||
//
|
||||
// we have to guess the set id for a build ID. If that happens, and then the build ID is
|
||||
// discovered to be in a different set, then the sets will be merged and both (or more)
|
||||
// build ids will be preserved, so that we don't lose tasks.
|
||||
// The first set id is considered the "primary", and the others are "demoted". Once a build
|
||||
// id is demoted, it cannot be made the primary again.
|
||||
SetIds []string `protobuf:"bytes,1,rep,name=set_ids,json=setIds,proto3" json:"set_ids,omitempty"`
|
||||
// All the compatible versions, unordered except for the last element, which is considered the set "default".
|
||||
BuildIds []*BuildId `protobuf:"bytes,2,rep,name=build_ids,json=buildIds,proto3" json:"build_ids,omitempty"`
|
||||
// HLC timestamp representing when this set was last made the default for the queue.
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
BecameDefaultTimestamp *v1.HybridLogicalClock `protobuf:"bytes,4,opt,name=became_default_timestamp,json=becameDefaultTimestamp,proto3" json:"became_default_timestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CompatibleVersionSet) Reset() {
|
||||
*x = CompatibleVersionSet{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[1]
|
||||
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_server_api_persistence_v1_task_queues_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 CompatibleVersionSet.ProtoReflect.Descriptor instead.
|
||||
func (*CompatibleVersionSet) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CompatibleVersionSet) GetSetIds() []string {
|
||||
if x != nil {
|
||||
return x.SetIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompatibleVersionSet) GetBuildIds() []*BuildId {
|
||||
if x != nil {
|
||||
return x.BuildIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompatibleVersionSet) GetBecameDefaultTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.BecameDefaultTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type AssignmentRule struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Rule *v11.BuildIdAssignmentRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
CreateTimestamp *v1.HybridLogicalClock `protobuf:"bytes,2,opt,name=create_timestamp,json=createTimestamp,proto3" json:"create_timestamp,omitempty"`
|
||||
// when delete_timestamp is present the rule should be treated as deleted
|
||||
//
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
DeleteTimestamp *v1.HybridLogicalClock `protobuf:"bytes,3,opt,name=delete_timestamp,json=deleteTimestamp,proto3" json:"delete_timestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AssignmentRule) Reset() {
|
||||
*x = AssignmentRule{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AssignmentRule) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AssignmentRule) ProtoMessage() {}
|
||||
|
||||
func (x *AssignmentRule) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 AssignmentRule.ProtoReflect.Descriptor instead.
|
||||
func (*AssignmentRule) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *AssignmentRule) GetRule() *v11.BuildIdAssignmentRule {
|
||||
if x != nil {
|
||||
return x.Rule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AssignmentRule) GetCreateTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.CreateTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AssignmentRule) GetDeleteTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.DeleteTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type RedirectRule struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Rule *v11.CompatibleBuildIdRedirectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
CreateTimestamp *v1.HybridLogicalClock `protobuf:"bytes,2,opt,name=create_timestamp,json=createTimestamp,proto3" json:"create_timestamp,omitempty"`
|
||||
// when delete_timestamp is present the rule should be treated as deleted
|
||||
//
|
||||
// (-- api-linter: core::0142::time-field-type=disabled
|
||||
//
|
||||
// aip.dev/not-precedent: Using HLC instead of wall clock. --)
|
||||
DeleteTimestamp *v1.HybridLogicalClock `protobuf:"bytes,3,opt,name=delete_timestamp,json=deleteTimestamp,proto3" json:"delete_timestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RedirectRule) Reset() {
|
||||
*x = RedirectRule{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RedirectRule) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RedirectRule) ProtoMessage() {}
|
||||
|
||||
func (x *RedirectRule) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 RedirectRule.ProtoReflect.Descriptor instead.
|
||||
func (*RedirectRule) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *RedirectRule) GetRule() *v11.CompatibleBuildIdRedirectRule {
|
||||
if x != nil {
|
||||
return x.Rule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RedirectRule) GetCreateTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.CreateTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RedirectRule) GetDeleteTimestamp() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.DeleteTimestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Holds all the data related to worker versioning for a task queue.
|
||||
// Backwards-incompatible changes cannot be made, as this would make existing stored data unreadable.
|
||||
type VersioningData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// All the incompatible version sets, unordered except for the last element, which is considered the set "default".
|
||||
VersionSets []*CompatibleVersionSet `protobuf:"bytes,1,rep,name=version_sets,json=versionSets,proto3" json:"version_sets,omitempty"`
|
||||
// Ordered list of assignment rules. Also contains recently-deleted rules.
|
||||
AssignmentRules []*AssignmentRule `protobuf:"bytes,2,rep,name=assignment_rules,json=assignmentRules,proto3" json:"assignment_rules,omitempty"`
|
||||
// Unordered list of redirect rules. Also contains recently-deleted rules.
|
||||
RedirectRules []*RedirectRule `protobuf:"bytes,3,rep,name=redirect_rules,json=redirectRules,proto3" json:"redirect_rules,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersioningData) Reset() {
|
||||
*x = VersioningData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersioningData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersioningData) ProtoMessage() {}
|
||||
|
||||
func (x *VersioningData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 VersioningData.ProtoReflect.Descriptor instead.
|
||||
func (*VersioningData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *VersioningData) GetVersionSets() []*CompatibleVersionSet {
|
||||
if x != nil {
|
||||
return x.VersionSets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VersioningData) GetAssignmentRules() []*AssignmentRule {
|
||||
if x != nil {
|
||||
return x.AssignmentRules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VersioningData) GetRedirectRules() []*RedirectRule {
|
||||
if x != nil {
|
||||
return x.RedirectRules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeploymentData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Set of worker deployment versions that this task queue belongs to.
|
||||
// Current Version is defined implicitly as the version with `current_since_time!=nil` and the most
|
||||
// recent `routing_update_time`.
|
||||
// Ramping Version is defined implicitly as the version with `ramping_since_time!=nil` and the most
|
||||
// recent `routing_update_time`.
|
||||
// The Ramping Version receives a share of unversioned/unpinned tasks according to its
|
||||
// `ramp_percentage`. If there is no Ramping Version, all the unversioned/unpinned tasks are
|
||||
// routed to the Current Version. If there is no Current Version, any poller with UNVERSIONED
|
||||
// (or unspecified) WorkflowVersioningMode will receive the tasks.
|
||||
// Remove after `AsyncSetCurrentAndRamping` workflow version is irreversibly enabled.
|
||||
//
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/task_queues.proto.
|
||||
Versions []*v12.DeploymentVersionData `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
|
||||
// Present if the task queue's ramping version is unversioned.
|
||||
// Remove after `AsyncSetCurrentAndRamping` workflow version is irreversibly enabled.
|
||||
//
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/task_queues.proto.
|
||||
UnversionedRampData *v12.DeploymentVersionData `protobuf:"bytes,3,opt,name=unversioned_ramp_data,json=unversionedRampData,proto3" json:"unversioned_ramp_data,omitempty"`
|
||||
// Routing and version membership data for all worker deployments that this task queue belongs to.
|
||||
// Key is the deployment name.
|
||||
DeploymentsData map[string]*WorkerDeploymentData `protobuf:"bytes,4,rep,name=deployments_data,json=deploymentsData,proto3" json:"deployments_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeploymentData) Reset() {
|
||||
*x = DeploymentData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeploymentData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeploymentData) ProtoMessage() {}
|
||||
|
||||
func (x *DeploymentData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 DeploymentData.ProtoReflect.Descriptor instead.
|
||||
func (*DeploymentData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/task_queues.proto.
|
||||
func (x *DeploymentData) GetVersions() []*v12.DeploymentVersionData {
|
||||
if x != nil {
|
||||
return x.Versions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Marked as deprecated in temporal/server/api/persistence/v1/task_queues.proto.
|
||||
func (x *DeploymentData) GetUnversionedRampData() *v12.DeploymentVersionData {
|
||||
if x != nil {
|
||||
return x.UnversionedRampData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DeploymentData) GetDeploymentsData() map[string]*WorkerDeploymentData {
|
||||
if x != nil {
|
||||
return x.DeploymentsData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Routing config and version membership data for a given worker deployment that a TQ should know.
|
||||
type WorkerDeploymentData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
RoutingConfig *v13.RoutingConfig `protobuf:"bytes,1,opt,name=routing_config,json=routingConfig,proto3" json:"routing_config,omitempty"`
|
||||
// This map tracks the membership of the task queue in the deployment versions. A version is
|
||||
// present here iff the task queue has ever been polled from the version.
|
||||
// Key is the build id.
|
||||
Versions map[string]*v12.WorkerDeploymentVersionData `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *WorkerDeploymentData) Reset() {
|
||||
*x = WorkerDeploymentData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WorkerDeploymentData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WorkerDeploymentData) ProtoMessage() {}
|
||||
|
||||
func (x *WorkerDeploymentData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 WorkerDeploymentData.ProtoReflect.Descriptor instead.
|
||||
func (*WorkerDeploymentData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *WorkerDeploymentData) GetRoutingConfig() *v13.RoutingConfig {
|
||||
if x != nil {
|
||||
return x.RoutingConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkerDeploymentData) GetVersions() map[string]*v12.WorkerDeploymentVersionData {
|
||||
if x != nil {
|
||||
return x.Versions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Container for all persistent user data that varies per task queue type within a family.
|
||||
type TaskQueueTypeUserData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
DeploymentData *DeploymentData `protobuf:"bytes,1,opt,name=deployment_data,json=deploymentData,proto3" json:"deployment_data,omitempty"`
|
||||
Config *v11.TaskQueueConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||
FairnessState v14.FairnessState `protobuf:"varint,3,opt,name=fairness_state,json=fairnessState,proto3,enum=temporal.server.api.enums.v1.FairnessState" json:"fairness_state,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskQueueTypeUserData) Reset() {
|
||||
*x = TaskQueueTypeUserData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskQueueTypeUserData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskQueueTypeUserData) ProtoMessage() {}
|
||||
|
||||
func (x *TaskQueueTypeUserData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 TaskQueueTypeUserData.ProtoReflect.Descriptor instead.
|
||||
func (*TaskQueueTypeUserData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *TaskQueueTypeUserData) GetDeploymentData() *DeploymentData {
|
||||
if x != nil {
|
||||
return x.DeploymentData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueTypeUserData) GetConfig() *v11.TaskQueueConfig {
|
||||
if x != nil {
|
||||
return x.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueTypeUserData) GetFairnessState() v14.FairnessState {
|
||||
if x != nil {
|
||||
return x.FairnessState
|
||||
}
|
||||
return v14.FairnessState(0)
|
||||
}
|
||||
|
||||
// Container for all persistent user provided data for a task queue family.
|
||||
// "Task queue" as a named concept here is a task queue family, i.e. the set of task queues
|
||||
// that share a name, at most one of each type (workflow, activity, etc.).
|
||||
// This data must all fit in a single DB column and is kept cached in-memory, take extra care to ensure data added here
|
||||
// has reasonable size limits imposed on it.
|
||||
type TaskQueueUserData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The last recorded cluster-local Hybrid Logical Clock timestamp for _this_ task queue family.
|
||||
// Updated whenever user data is directly updated due to a user action but not when applying replication events.
|
||||
// The clock is referenced when new timestamps are generated to ensure it produces monotonically increasing
|
||||
// timestamps.
|
||||
Clock *v1.HybridLogicalClock `protobuf:"bytes,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||
VersioningData *VersioningData `protobuf:"bytes,2,opt,name=versioning_data,json=versioningData,proto3" json:"versioning_data,omitempty"`
|
||||
// Map from task queue type (workflow, activity, nexus) to per-type data.
|
||||
PerType map[int32]*TaskQueueTypeUserData `protobuf:"bytes,3,rep,name=per_type,json=perType,proto3" json:"per_type,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskQueueUserData) Reset() {
|
||||
*x = TaskQueueUserData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskQueueUserData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskQueueUserData) ProtoMessage() {}
|
||||
|
||||
func (x *TaskQueueUserData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 TaskQueueUserData.ProtoReflect.Descriptor instead.
|
||||
func (*TaskQueueUserData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *TaskQueueUserData) GetClock() *v1.HybridLogicalClock {
|
||||
if x != nil {
|
||||
return x.Clock
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueUserData) GetVersioningData() *VersioningData {
|
||||
if x != nil {
|
||||
return x.VersioningData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueUserData) GetPerType() map[int32]*TaskQueueTypeUserData {
|
||||
if x != nil {
|
||||
return x.PerType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Simple wrapper that includes a TaskQueueUserData and its storage version.
|
||||
type VersionedTaskQueueUserData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Data *TaskQueueUserData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
||||
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VersionedTaskQueueUserData) Reset() {
|
||||
*x = VersionedTaskQueueUserData{}
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VersionedTaskQueueUserData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VersionedTaskQueueUserData) ProtoMessage() {}
|
||||
|
||||
func (x *VersionedTaskQueueUserData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_task_queues_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 VersionedTaskQueueUserData.ProtoReflect.Descriptor instead.
|
||||
func (*VersionedTaskQueueUserData) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *VersionedTaskQueueUserData) GetData() *TaskQueueUserData {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VersionedTaskQueueUserData) GetVersion() int64 {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_task_queues_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_task_queues_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"4temporal/server/api/persistence/v1/task_queues.proto\x12\"temporal.server.api.persistence.v1\x1a(temporal/api/deployment/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a*temporal/server/api/clock/v1/message.proto\x1a/temporal/server/api/deployment/v1/message.proto\x1a1temporal/server/api/enums/v1/fairness_state.proto\"\xfb\x02\n" +
|
||||
"\aBuildId\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12G\n" +
|
||||
"\x05state\x18\x02 \x01(\x0e21.temporal.server.api.persistence.v1.BuildId.StateR\x05state\x12f\n" +
|
||||
"\x16state_update_timestamp\x18\x03 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x14stateUpdateTimestamp\x12j\n" +
|
||||
"\x18became_default_timestamp\x18\x04 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x16becameDefaultTimestamp\"C\n" +
|
||||
"\x05State\x12\x15\n" +
|
||||
"\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n" +
|
||||
"\fSTATE_ACTIVE\x10\x01\x12\x11\n" +
|
||||
"\rSTATE_DELETED\x10\x02\"\xe5\x01\n" +
|
||||
"\x14CompatibleVersionSet\x12\x17\n" +
|
||||
"\aset_ids\x18\x01 \x03(\tR\x06setIds\x12H\n" +
|
||||
"\tbuild_ids\x18\x02 \x03(\v2+.temporal.server.api.persistence.v1.BuildIdR\bbuildIds\x12j\n" +
|
||||
"\x18became_default_timestamp\x18\x04 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x16becameDefaultTimestamp\"\x90\x02\n" +
|
||||
"\x0eAssignmentRule\x12D\n" +
|
||||
"\x04rule\x18\x01 \x01(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\x04rule\x12[\n" +
|
||||
"\x10create_timestamp\x18\x02 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x0fcreateTimestamp\x12[\n" +
|
||||
"\x10delete_timestamp\x18\x03 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x0fdeleteTimestamp\"\x96\x02\n" +
|
||||
"\fRedirectRule\x12L\n" +
|
||||
"\x04rule\x18\x01 \x01(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\x04rule\x12[\n" +
|
||||
"\x10create_timestamp\x18\x02 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x0fcreateTimestamp\x12[\n" +
|
||||
"\x10delete_timestamp\x18\x03 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x0fdeleteTimestamp\"\xa5\x02\n" +
|
||||
"\x0eVersioningData\x12[\n" +
|
||||
"\fversion_sets\x18\x01 \x03(\v28.temporal.server.api.persistence.v1.CompatibleVersionSetR\vversionSets\x12]\n" +
|
||||
"\x10assignment_rules\x18\x02 \x03(\v22.temporal.server.api.persistence.v1.AssignmentRuleR\x0fassignmentRules\x12W\n" +
|
||||
"\x0eredirect_rules\x18\x03 \x03(\v20.temporal.server.api.persistence.v1.RedirectRuleR\rredirectRules\"\xd4\x03\n" +
|
||||
"\x0eDeploymentData\x12X\n" +
|
||||
"\bversions\x18\x02 \x03(\v28.temporal.server.api.deployment.v1.DeploymentVersionDataB\x02\x18\x01R\bversions\x12p\n" +
|
||||
"\x15unversioned_ramp_data\x18\x03 \x01(\v28.temporal.server.api.deployment.v1.DeploymentVersionDataB\x02\x18\x01R\x13unversionedRampData\x12r\n" +
|
||||
"\x10deployments_data\x18\x04 \x03(\v2G.temporal.server.api.persistence.v1.DeploymentData.DeploymentsDataEntryR\x0fdeploymentsData\x1a|\n" +
|
||||
"\x14DeploymentsDataEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12N\n" +
|
||||
"\x05value\x18\x02 \x01(\v28.temporal.server.api.persistence.v1.WorkerDeploymentDataR\x05value:\x028\x01J\x04\b\x01\x10\x02\"\xc9\x02\n" +
|
||||
"\x14WorkerDeploymentData\x12P\n" +
|
||||
"\x0erouting_config\x18\x01 \x01(\v2).temporal.api.deployment.v1.RoutingConfigR\rroutingConfig\x12b\n" +
|
||||
"\bversions\x18\x02 \x03(\v2F.temporal.server.api.persistence.v1.WorkerDeploymentData.VersionsEntryR\bversions\x1a{\n" +
|
||||
"\rVersionsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12T\n" +
|
||||
"\x05value\x18\x02 \x01(\v2>.temporal.server.api.deployment.v1.WorkerDeploymentVersionDataR\x05value:\x028\x01\"\x8c\x02\n" +
|
||||
"\x15TaskQueueTypeUserData\x12[\n" +
|
||||
"\x0fdeployment_data\x18\x01 \x01(\v22.temporal.server.api.persistence.v1.DeploymentDataR\x0edeploymentData\x12B\n" +
|
||||
"\x06config\x18\x02 \x01(\v2*.temporal.api.taskqueue.v1.TaskQueueConfigR\x06config\x12R\n" +
|
||||
"\x0efairness_state\x18\x03 \x01(\x0e2+.temporal.server.api.enums.v1.FairnessStateR\rfairnessState\"\x8e\x03\n" +
|
||||
"\x11TaskQueueUserData\x12F\n" +
|
||||
"\x05clock\x18\x01 \x01(\v20.temporal.server.api.clock.v1.HybridLogicalClockR\x05clock\x12[\n" +
|
||||
"\x0fversioning_data\x18\x02 \x01(\v22.temporal.server.api.persistence.v1.VersioningDataR\x0eversioningData\x12]\n" +
|
||||
"\bper_type\x18\x03 \x03(\v2B.temporal.server.api.persistence.v1.TaskQueueUserData.PerTypeEntryR\aperType\x1au\n" +
|
||||
"\fPerTypeEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x05R\x03key\x12O\n" +
|
||||
"\x05value\x18\x02 \x01(\v29.temporal.server.api.persistence.v1.TaskQueueTypeUserDataR\x05value:\x028\x01\"\x81\x01\n" +
|
||||
"\x1aVersionedTaskQueueUserData\x12I\n" +
|
||||
"\x04data\x18\x01 \x01(\v25.temporal.server.api.persistence.v1.TaskQueueUserDataR\x04data\x12\x18\n" +
|
||||
"\aversion\x18\x02 \x01(\x03R\aversionB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_task_queues_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_task_queues_proto_rawDesc), len(file_temporal_server_api_persistence_v1_task_queues_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_task_queues_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_task_queues_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_temporal_server_api_persistence_v1_task_queues_proto_goTypes = []any{
|
||||
(BuildId_State)(0), // 0: temporal.server.api.persistence.v1.BuildId.State
|
||||
(*BuildId)(nil), // 1: temporal.server.api.persistence.v1.BuildId
|
||||
(*CompatibleVersionSet)(nil), // 2: temporal.server.api.persistence.v1.CompatibleVersionSet
|
||||
(*AssignmentRule)(nil), // 3: temporal.server.api.persistence.v1.AssignmentRule
|
||||
(*RedirectRule)(nil), // 4: temporal.server.api.persistence.v1.RedirectRule
|
||||
(*VersioningData)(nil), // 5: temporal.server.api.persistence.v1.VersioningData
|
||||
(*DeploymentData)(nil), // 6: temporal.server.api.persistence.v1.DeploymentData
|
||||
(*WorkerDeploymentData)(nil), // 7: temporal.server.api.persistence.v1.WorkerDeploymentData
|
||||
(*TaskQueueTypeUserData)(nil), // 8: temporal.server.api.persistence.v1.TaskQueueTypeUserData
|
||||
(*TaskQueueUserData)(nil), // 9: temporal.server.api.persistence.v1.TaskQueueUserData
|
||||
(*VersionedTaskQueueUserData)(nil), // 10: temporal.server.api.persistence.v1.VersionedTaskQueueUserData
|
||||
nil, // 11: temporal.server.api.persistence.v1.DeploymentData.DeploymentsDataEntry
|
||||
nil, // 12: temporal.server.api.persistence.v1.WorkerDeploymentData.VersionsEntry
|
||||
nil, // 13: temporal.server.api.persistence.v1.TaskQueueUserData.PerTypeEntry
|
||||
(*v1.HybridLogicalClock)(nil), // 14: temporal.server.api.clock.v1.HybridLogicalClock
|
||||
(*v11.BuildIdAssignmentRule)(nil), // 15: temporal.api.taskqueue.v1.BuildIdAssignmentRule
|
||||
(*v11.CompatibleBuildIdRedirectRule)(nil), // 16: temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule
|
||||
(*v12.DeploymentVersionData)(nil), // 17: temporal.server.api.deployment.v1.DeploymentVersionData
|
||||
(*v13.RoutingConfig)(nil), // 18: temporal.api.deployment.v1.RoutingConfig
|
||||
(*v11.TaskQueueConfig)(nil), // 19: temporal.api.taskqueue.v1.TaskQueueConfig
|
||||
(v14.FairnessState)(0), // 20: temporal.server.api.enums.v1.FairnessState
|
||||
(*v12.WorkerDeploymentVersionData)(nil), // 21: temporal.server.api.deployment.v1.WorkerDeploymentVersionData
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_task_queues_proto_depIdxs = []int32{
|
||||
0, // 0: temporal.server.api.persistence.v1.BuildId.state:type_name -> temporal.server.api.persistence.v1.BuildId.State
|
||||
14, // 1: temporal.server.api.persistence.v1.BuildId.state_update_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
14, // 2: temporal.server.api.persistence.v1.BuildId.became_default_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
1, // 3: temporal.server.api.persistence.v1.CompatibleVersionSet.build_ids:type_name -> temporal.server.api.persistence.v1.BuildId
|
||||
14, // 4: temporal.server.api.persistence.v1.CompatibleVersionSet.became_default_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
15, // 5: temporal.server.api.persistence.v1.AssignmentRule.rule:type_name -> temporal.api.taskqueue.v1.BuildIdAssignmentRule
|
||||
14, // 6: temporal.server.api.persistence.v1.AssignmentRule.create_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
14, // 7: temporal.server.api.persistence.v1.AssignmentRule.delete_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
16, // 8: temporal.server.api.persistence.v1.RedirectRule.rule:type_name -> temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule
|
||||
14, // 9: temporal.server.api.persistence.v1.RedirectRule.create_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
14, // 10: temporal.server.api.persistence.v1.RedirectRule.delete_timestamp:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
2, // 11: temporal.server.api.persistence.v1.VersioningData.version_sets:type_name -> temporal.server.api.persistence.v1.CompatibleVersionSet
|
||||
3, // 12: temporal.server.api.persistence.v1.VersioningData.assignment_rules:type_name -> temporal.server.api.persistence.v1.AssignmentRule
|
||||
4, // 13: temporal.server.api.persistence.v1.VersioningData.redirect_rules:type_name -> temporal.server.api.persistence.v1.RedirectRule
|
||||
17, // 14: temporal.server.api.persistence.v1.DeploymentData.versions:type_name -> temporal.server.api.deployment.v1.DeploymentVersionData
|
||||
17, // 15: temporal.server.api.persistence.v1.DeploymentData.unversioned_ramp_data:type_name -> temporal.server.api.deployment.v1.DeploymentVersionData
|
||||
11, // 16: temporal.server.api.persistence.v1.DeploymentData.deployments_data:type_name -> temporal.server.api.persistence.v1.DeploymentData.DeploymentsDataEntry
|
||||
18, // 17: temporal.server.api.persistence.v1.WorkerDeploymentData.routing_config:type_name -> temporal.api.deployment.v1.RoutingConfig
|
||||
12, // 18: temporal.server.api.persistence.v1.WorkerDeploymentData.versions:type_name -> temporal.server.api.persistence.v1.WorkerDeploymentData.VersionsEntry
|
||||
6, // 19: temporal.server.api.persistence.v1.TaskQueueTypeUserData.deployment_data:type_name -> temporal.server.api.persistence.v1.DeploymentData
|
||||
19, // 20: temporal.server.api.persistence.v1.TaskQueueTypeUserData.config:type_name -> temporal.api.taskqueue.v1.TaskQueueConfig
|
||||
20, // 21: temporal.server.api.persistence.v1.TaskQueueTypeUserData.fairness_state:type_name -> temporal.server.api.enums.v1.FairnessState
|
||||
14, // 22: temporal.server.api.persistence.v1.TaskQueueUserData.clock:type_name -> temporal.server.api.clock.v1.HybridLogicalClock
|
||||
5, // 23: temporal.server.api.persistence.v1.TaskQueueUserData.versioning_data:type_name -> temporal.server.api.persistence.v1.VersioningData
|
||||
13, // 24: temporal.server.api.persistence.v1.TaskQueueUserData.per_type:type_name -> temporal.server.api.persistence.v1.TaskQueueUserData.PerTypeEntry
|
||||
9, // 25: temporal.server.api.persistence.v1.VersionedTaskQueueUserData.data:type_name -> temporal.server.api.persistence.v1.TaskQueueUserData
|
||||
7, // 26: temporal.server.api.persistence.v1.DeploymentData.DeploymentsDataEntry.value:type_name -> temporal.server.api.persistence.v1.WorkerDeploymentData
|
||||
21, // 27: temporal.server.api.persistence.v1.WorkerDeploymentData.VersionsEntry.value:type_name -> temporal.server.api.deployment.v1.WorkerDeploymentVersionData
|
||||
8, // 28: temporal.server.api.persistence.v1.TaskQueueUserData.PerTypeEntry.value:type_name -> temporal.server.api.persistence.v1.TaskQueueTypeUserData
|
||||
29, // [29:29] is the sub-list for method output_type
|
||||
29, // [29:29] is the sub-list for method input_type
|
||||
29, // [29:29] is the sub-list for extension type_name
|
||||
29, // [29:29] is the sub-list for extension extendee
|
||||
0, // [0:29] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_task_queues_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_task_queues_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_task_queues_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_task_queues_proto_rawDesc), len(file_temporal_server_api_persistence_v1_task_queues_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_task_queues_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_task_queues_proto_depIdxs,
|
||||
EnumInfos: file_temporal_server_api_persistence_v1_task_queues_proto_enumTypes,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_task_queues_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_task_queues_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_task_queues_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,265 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type AllocatedTaskInfo to the protobuf v3 wire format
|
||||
func (val *AllocatedTaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type AllocatedTaskInfo from the protobuf v3 wire format
|
||||
func (val *AllocatedTaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *AllocatedTaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two AllocatedTaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *AllocatedTaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *AllocatedTaskInfo
|
||||
switch t := that.(type) {
|
||||
case *AllocatedTaskInfo:
|
||||
that1 = t
|
||||
case AllocatedTaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskInfo to the protobuf v3 wire format
|
||||
func (val *TaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskInfo from the protobuf v3 wire format
|
||||
func (val *TaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskInfo
|
||||
switch t := that.(type) {
|
||||
case *TaskInfo:
|
||||
that1 = t
|
||||
case TaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskQueueInfo to the protobuf v3 wire format
|
||||
func (val *TaskQueueInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskQueueInfo from the protobuf v3 wire format
|
||||
func (val *TaskQueueInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskQueueInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskQueueInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskQueueInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskQueueInfo
|
||||
switch t := that.(type) {
|
||||
case *TaskQueueInfo:
|
||||
that1 = t
|
||||
case TaskQueueInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SubqueueInfo to the protobuf v3 wire format
|
||||
func (val *SubqueueInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SubqueueInfo from the protobuf v3 wire format
|
||||
func (val *SubqueueInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SubqueueInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SubqueueInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SubqueueInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SubqueueInfo
|
||||
switch t := that.(type) {
|
||||
case *SubqueueInfo:
|
||||
that1 = t
|
||||
case SubqueueInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type FairnessKeyCount to the protobuf v3 wire format
|
||||
func (val *FairnessKeyCount) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type FairnessKeyCount from the protobuf v3 wire format
|
||||
func (val *FairnessKeyCount) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *FairnessKeyCount) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two FairnessKeyCount values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *FairnessKeyCount) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *FairnessKeyCount
|
||||
switch t := that.(type) {
|
||||
case *FairnessKeyCount:
|
||||
that1 = t
|
||||
case FairnessKeyCount:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SubqueueKey to the protobuf v3 wire format
|
||||
func (val *SubqueueKey) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SubqueueKey from the protobuf v3 wire format
|
||||
func (val *SubqueueKey) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SubqueueKey) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SubqueueKey values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SubqueueKey) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SubqueueKey
|
||||
switch t := that.(type) {
|
||||
case *SubqueueKey:
|
||||
that1 = t
|
||||
case SubqueueKey:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskKey to the protobuf v3 wire format
|
||||
func (val *TaskKey) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskKey from the protobuf v3 wire format
|
||||
func (val *TaskKey) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskKey) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskKey values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskKey) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskKey
|
||||
switch t := that.(type) {
|
||||
case *TaskKey:
|
||||
that1 = t
|
||||
case TaskKey:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,728 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/tasks.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v12 "go.temporal.io/api/common/v1"
|
||||
v13 "go.temporal.io/api/enums/v1"
|
||||
v1 "github.com/hanzoai/tasks/api/clock/v1"
|
||||
v11 "github.com/hanzoai/tasks/api/taskqueue/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// task column
|
||||
type AllocatedTaskInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Data *TaskInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
||||
TaskPass int64 `protobuf:"varint,3,opt,name=task_pass,json=taskPass,proto3" json:"task_pass,omitempty"`
|
||||
TaskId int64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AllocatedTaskInfo) Reset() {
|
||||
*x = AllocatedTaskInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AllocatedTaskInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AllocatedTaskInfo) ProtoMessage() {}
|
||||
|
||||
func (x *AllocatedTaskInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 AllocatedTaskInfo.ProtoReflect.Descriptor instead.
|
||||
func (*AllocatedTaskInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *AllocatedTaskInfo) GetData() *TaskInfo {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AllocatedTaskInfo) GetTaskPass() int64 {
|
||||
if x != nil {
|
||||
return x.TaskPass
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AllocatedTaskInfo) GetTaskId() int64 {
|
||||
if x != nil {
|
||||
return x.TaskId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type TaskInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
||||
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||||
ScheduledEventId int64 `protobuf:"varint,4,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
|
||||
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
|
||||
Clock *v1.VectorClock `protobuf:"bytes,7,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||
// How this task should be directed. (Missing means the default for
|
||||
// TaskVersionDirective, which is unversioned.)
|
||||
VersionDirective *v11.TaskVersionDirective `protobuf:"bytes,8,opt,name=version_directive,json=versionDirective,proto3" json:"version_directive,omitempty"`
|
||||
// Stamp field allows to differentiate between different instances of the same task
|
||||
Stamp int32 `protobuf:"varint,9,opt,name=stamp,proto3" json:"stamp,omitempty"`
|
||||
Priority *v12.Priority `protobuf:"bytes,10,opt,name=priority,proto3" json:"priority,omitempty"`
|
||||
// Reference to any chasm component associated with this task
|
||||
ComponentRef []byte `protobuf:"bytes,11,opt,name=component_ref,json=componentRef,proto3" json:"component_ref,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskInfo) Reset() {
|
||||
*x = TaskInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskInfo) ProtoMessage() {}
|
||||
|
||||
func (x *TaskInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 TaskInfo.ProtoReflect.Descriptor instead.
|
||||
func (*TaskInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetWorkflowId() string {
|
||||
if x != nil {
|
||||
return x.WorkflowId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetRunId() string {
|
||||
if x != nil {
|
||||
return x.RunId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetScheduledEventId() int64 {
|
||||
if x != nil {
|
||||
return x.ScheduledEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetCreateTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetExpiryTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.ExpiryTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetClock() *v1.VectorClock {
|
||||
if x != nil {
|
||||
return x.Clock
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetVersionDirective() *v11.TaskVersionDirective {
|
||||
if x != nil {
|
||||
return x.VersionDirective
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetStamp() int32 {
|
||||
if x != nil {
|
||||
return x.Stamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetPriority() *v12.Priority {
|
||||
if x != nil {
|
||||
return x.Priority
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskInfo) GetComponentRef() []byte {
|
||||
if x != nil {
|
||||
return x.ComponentRef
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// task_queue column
|
||||
type TaskQueueInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||
TaskType v13.TaskQueueType `protobuf:"varint,3,opt,name=task_type,json=taskType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_type,omitempty"`
|
||||
Kind v13.TaskQueueKind `protobuf:"varint,4,opt,name=kind,proto3,enum=temporal.api.enums.v1.TaskQueueKind" json:"kind,omitempty"`
|
||||
// After data is migrated into subqueues, this contains a copy of the ack level for subqueue 0.
|
||||
AckLevel int64 `protobuf:"varint,5,opt,name=ack_level,json=ackLevel,proto3" json:"ack_level,omitempty"`
|
||||
ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
|
||||
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
||||
// After data is migrated into subqueues, this contains a copy of the count for subqueue 0.
|
||||
ApproximateBacklogCount int64 `protobuf:"varint,8,opt,name=approximate_backlog_count,json=approximateBacklogCount,proto3" json:"approximate_backlog_count,omitempty"`
|
||||
// Subqueues contains one entry for each subqueue in this physical task queue.
|
||||
// Tasks are split into subqueues to implement priority and fairness.
|
||||
// Subqueues are indexed starting from 0, the zero subqueue is always present
|
||||
// and corresponds to the "main" queue before subqueues were introduced.
|
||||
//
|
||||
// The message at index n describes the subqueue at index n.
|
||||
//
|
||||
// Each subqueue has its own ack level and approx backlog count, but they share
|
||||
// the range id. For compatibility, ack level and backlog count for subqueue 0
|
||||
// is copied into TaskQueueInfo.
|
||||
Subqueues []*SubqueueInfo `protobuf:"bytes,9,rep,name=subqueues,proto3" json:"subqueues,omitempty"`
|
||||
// For transitioning from tasks (v1) to tasks_v2 and back:
|
||||
//
|
||||
// If this TaskQueueInfo is in v1 and this is set, then v2 may have tasks.
|
||||
// If this TaskQueueInfo is in v2 and this is set, then v1 may have tasks.
|
||||
//
|
||||
// New metadata starts with this flag set (we could skip this when useNewMatcher is off).
|
||||
// Whenever locking any metadata as the inactive one (drain-only), this should be set.
|
||||
// If the flag is true, no tasks should be written to the active table until the inactive
|
||||
// table has also been locked (and the flag set there for a potential reverse transition).
|
||||
// After determinining that the inactive table has no more tasks left, then this
|
||||
// can be cleared on the active table.
|
||||
OtherHasTasks bool `protobuf:"varint,10,opt,name=other_has_tasks,json=otherHasTasks,proto3" json:"other_has_tasks,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) Reset() {
|
||||
*x = TaskQueueInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskQueueInfo) ProtoMessage() {}
|
||||
|
||||
func (x *TaskQueueInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 TaskQueueInfo.ProtoReflect.Descriptor instead.
|
||||
func (*TaskQueueInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetNamespaceId() string {
|
||||
if x != nil {
|
||||
return x.NamespaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetTaskType() v13.TaskQueueType {
|
||||
if x != nil {
|
||||
return x.TaskType
|
||||
}
|
||||
return v13.TaskQueueType(0)
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetKind() v13.TaskQueueKind {
|
||||
if x != nil {
|
||||
return x.Kind
|
||||
}
|
||||
return v13.TaskQueueKind(0)
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetAckLevel() int64 {
|
||||
if x != nil {
|
||||
return x.AckLevel
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetExpiryTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.ExpiryTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetLastUpdateTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.LastUpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetApproximateBacklogCount() int64 {
|
||||
if x != nil {
|
||||
return x.ApproximateBacklogCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetSubqueues() []*SubqueueInfo {
|
||||
if x != nil {
|
||||
return x.Subqueues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskQueueInfo) GetOtherHasTasks() bool {
|
||||
if x != nil {
|
||||
return x.OtherHasTasks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type SubqueueInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Key is the information used by a splitting algorithm to decide which tasks should go in
|
||||
// this subqueue. It should not change after being registered in TaskQueueInfo.
|
||||
Key *SubqueueKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The rest are mutable state for the subqueue:
|
||||
AckLevel int64 `protobuf:"varint,2,opt,name=ack_level,json=ackLevel,proto3" json:"ack_level,omitempty"`
|
||||
FairAckLevel *v11.FairLevel `protobuf:"bytes,4,opt,name=fair_ack_level,json=fairAckLevel,proto3" json:"fair_ack_level,omitempty"`
|
||||
ApproximateBacklogCount int64 `protobuf:"varint,3,opt,name=approximate_backlog_count,json=approximateBacklogCount,proto3" json:"approximate_backlog_count,omitempty"`
|
||||
// Max read level keeps track of the highest task level ever written, but is only
|
||||
// maintained best-effort. Do not trust these values.
|
||||
FairMaxReadLevel *v11.FairLevel `protobuf:"bytes,5,opt,name=fair_max_read_level,json=fairMaxReadLevel,proto3" json:"fair_max_read_level,omitempty"`
|
||||
// We can persist a limited number of fairness key counts in task queue
|
||||
// metadata so they're not lost on migration.
|
||||
TopKFairnessCounts []*FairnessKeyCount `protobuf:"bytes,6,rep,name=top_k_fairness_counts,json=topKFairnessCounts,proto3" json:"top_k_fairness_counts,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) Reset() {
|
||||
*x = SubqueueInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SubqueueInfo) ProtoMessage() {}
|
||||
|
||||
func (x *SubqueueInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 SubqueueInfo.ProtoReflect.Descriptor instead.
|
||||
func (*SubqueueInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetKey() *SubqueueKey {
|
||||
if x != nil {
|
||||
return x.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetAckLevel() int64 {
|
||||
if x != nil {
|
||||
return x.AckLevel
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetFairAckLevel() *v11.FairLevel {
|
||||
if x != nil {
|
||||
return x.FairAckLevel
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetApproximateBacklogCount() int64 {
|
||||
if x != nil {
|
||||
return x.ApproximateBacklogCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetFairMaxReadLevel() *v11.FairLevel {
|
||||
if x != nil {
|
||||
return x.FairMaxReadLevel
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SubqueueInfo) GetTopKFairnessCounts() []*FairnessKeyCount {
|
||||
if x != nil {
|
||||
return x.TopKFairnessCounts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type FairnessKeyCount struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *FairnessKeyCount) Reset() {
|
||||
*x = FairnessKeyCount{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *FairnessKeyCount) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FairnessKeyCount) ProtoMessage() {}
|
||||
|
||||
func (x *FairnessKeyCount) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 FairnessKeyCount.ProtoReflect.Descriptor instead.
|
||||
func (*FairnessKeyCount) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *FairnessKeyCount) GetKey() string {
|
||||
if x != nil {
|
||||
return x.Key
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *FairnessKeyCount) GetCount() int64 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type SubqueueKey struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Each subqueue contains tasks from only one priority level.
|
||||
Priority int32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SubqueueKey) Reset() {
|
||||
*x = SubqueueKey{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SubqueueKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SubqueueKey) ProtoMessage() {}
|
||||
|
||||
func (x *SubqueueKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 SubqueueKey.ProtoReflect.Descriptor instead.
|
||||
func (*SubqueueKey) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *SubqueueKey) GetPriority() int32 {
|
||||
if x != nil {
|
||||
return x.Priority
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type TaskKey struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
FireTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=fire_time,json=fireTime,proto3" json:"fire_time,omitempty"`
|
||||
TaskId int64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskKey) Reset() {
|
||||
*x = TaskKey{}
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TaskKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TaskKey) ProtoMessage() {}
|
||||
|
||||
func (x *TaskKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_tasks_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 TaskKey.ProtoReflect.Descriptor instead.
|
||||
func (*TaskKey) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *TaskKey) GetFireTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.FireTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TaskKey) GetTaskId() int64 {
|
||||
if x != nil {
|
||||
return x.TaskId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_tasks_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_tasks_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
".temporal/server/api/persistence/v1/tasks.proto\x12\"temporal.server.api.persistence.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a*temporal/server/api/clock/v1/message.proto\x1a.temporal/server/api/taskqueue/v1/message.proto\"\x8b\x01\n" +
|
||||
"\x11AllocatedTaskInfo\x12@\n" +
|
||||
"\x04data\x18\x01 \x01(\v2,.temporal.server.api.persistence.v1.TaskInfoR\x04data\x12\x1b\n" +
|
||||
"\ttask_pass\x18\x03 \x01(\x03R\btaskPass\x12\x17\n" +
|
||||
"\atask_id\x18\x02 \x01(\x03R\x06taskId\"\xac\x04\n" +
|
||||
"\bTaskInfo\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x1f\n" +
|
||||
"\vworkflow_id\x18\x02 \x01(\tR\n" +
|
||||
"workflowId\x12\x15\n" +
|
||||
"\x06run_id\x18\x03 \x01(\tR\x05runId\x12,\n" +
|
||||
"\x12scheduled_event_id\x18\x04 \x01(\x03R\x10scheduledEventId\x12;\n" +
|
||||
"\vcreate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
||||
"createTime\x12;\n" +
|
||||
"\vexpiry_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
||||
"expiryTime\x12?\n" +
|
||||
"\x05clock\x18\a \x01(\v2).temporal.server.api.clock.v1.VectorClockR\x05clock\x12c\n" +
|
||||
"\x11version_directive\x18\b \x01(\v26.temporal.server.api.taskqueue.v1.TaskVersionDirectiveR\x10versionDirective\x12\x14\n" +
|
||||
"\x05stamp\x18\t \x01(\x05R\x05stamp\x12<\n" +
|
||||
"\bpriority\x18\n" +
|
||||
" \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\x12#\n" +
|
||||
"\rcomponent_ref\x18\v \x01(\fR\fcomponentRef\"\x97\x04\n" +
|
||||
"\rTaskQueueInfo\x12!\n" +
|
||||
"\fnamespace_id\x18\x01 \x01(\tR\vnamespaceId\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12A\n" +
|
||||
"\ttask_type\x18\x03 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\btaskType\x128\n" +
|
||||
"\x04kind\x18\x04 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueKindR\x04kind\x12\x1b\n" +
|
||||
"\tack_level\x18\x05 \x01(\x03R\backLevel\x12;\n" +
|
||||
"\vexpiry_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
||||
"expiryTime\x12D\n" +
|
||||
"\x10last_update_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x0elastUpdateTime\x12:\n" +
|
||||
"\x19approximate_backlog_count\x18\b \x01(\x03R\x17approximateBacklogCount\x12N\n" +
|
||||
"\tsubqueues\x18\t \x03(\v20.temporal.server.api.persistence.v1.SubqueueInfoR\tsubqueues\x12&\n" +
|
||||
"\x0fother_has_tasks\x18\n" +
|
||||
" \x01(\bR\rotherHasTasks\"\xc2\x03\n" +
|
||||
"\fSubqueueInfo\x12A\n" +
|
||||
"\x03key\x18\x01 \x01(\v2/.temporal.server.api.persistence.v1.SubqueueKeyR\x03key\x12\x1b\n" +
|
||||
"\tack_level\x18\x02 \x01(\x03R\backLevel\x12Q\n" +
|
||||
"\x0efair_ack_level\x18\x04 \x01(\v2+.temporal.server.api.taskqueue.v1.FairLevelR\ffairAckLevel\x12:\n" +
|
||||
"\x19approximate_backlog_count\x18\x03 \x01(\x03R\x17approximateBacklogCount\x12Z\n" +
|
||||
"\x13fair_max_read_level\x18\x05 \x01(\v2+.temporal.server.api.taskqueue.v1.FairLevelR\x10fairMaxReadLevel\x12g\n" +
|
||||
"\x15top_k_fairness_counts\x18\x06 \x03(\v24.temporal.server.api.persistence.v1.FairnessKeyCountR\x12topKFairnessCounts\":\n" +
|
||||
"\x10FairnessKeyCount\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\")\n" +
|
||||
"\vSubqueueKey\x12\x1a\n" +
|
||||
"\bpriority\x18\x01 \x01(\x05R\bpriority\"[\n" +
|
||||
"\aTaskKey\x127\n" +
|
||||
"\tfire_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\bfireTime\x12\x17\n" +
|
||||
"\atask_id\x18\x02 \x01(\x03R\x06taskIdB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_tasks_proto_rawDesc), len(file_temporal_server_api_persistence_v1_tasks_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_tasks_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_temporal_server_api_persistence_v1_tasks_proto_goTypes = []any{
|
||||
(*AllocatedTaskInfo)(nil), // 0: temporal.server.api.persistence.v1.AllocatedTaskInfo
|
||||
(*TaskInfo)(nil), // 1: temporal.server.api.persistence.v1.TaskInfo
|
||||
(*TaskQueueInfo)(nil), // 2: temporal.server.api.persistence.v1.TaskQueueInfo
|
||||
(*SubqueueInfo)(nil), // 3: temporal.server.api.persistence.v1.SubqueueInfo
|
||||
(*FairnessKeyCount)(nil), // 4: temporal.server.api.persistence.v1.FairnessKeyCount
|
||||
(*SubqueueKey)(nil), // 5: temporal.server.api.persistence.v1.SubqueueKey
|
||||
(*TaskKey)(nil), // 6: temporal.server.api.persistence.v1.TaskKey
|
||||
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
|
||||
(*v1.VectorClock)(nil), // 8: temporal.server.api.clock.v1.VectorClock
|
||||
(*v11.TaskVersionDirective)(nil), // 9: temporal.server.api.taskqueue.v1.TaskVersionDirective
|
||||
(*v12.Priority)(nil), // 10: temporal.api.common.v1.Priority
|
||||
(v13.TaskQueueType)(0), // 11: temporal.api.enums.v1.TaskQueueType
|
||||
(v13.TaskQueueKind)(0), // 12: temporal.api.enums.v1.TaskQueueKind
|
||||
(*v11.FairLevel)(nil), // 13: temporal.server.api.taskqueue.v1.FairLevel
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_tasks_proto_depIdxs = []int32{
|
||||
1, // 0: temporal.server.api.persistence.v1.AllocatedTaskInfo.data:type_name -> temporal.server.api.persistence.v1.TaskInfo
|
||||
7, // 1: temporal.server.api.persistence.v1.TaskInfo.create_time:type_name -> google.protobuf.Timestamp
|
||||
7, // 2: temporal.server.api.persistence.v1.TaskInfo.expiry_time:type_name -> google.protobuf.Timestamp
|
||||
8, // 3: temporal.server.api.persistence.v1.TaskInfo.clock:type_name -> temporal.server.api.clock.v1.VectorClock
|
||||
9, // 4: temporal.server.api.persistence.v1.TaskInfo.version_directive:type_name -> temporal.server.api.taskqueue.v1.TaskVersionDirective
|
||||
10, // 5: temporal.server.api.persistence.v1.TaskInfo.priority:type_name -> temporal.api.common.v1.Priority
|
||||
11, // 6: temporal.server.api.persistence.v1.TaskQueueInfo.task_type:type_name -> temporal.api.enums.v1.TaskQueueType
|
||||
12, // 7: temporal.server.api.persistence.v1.TaskQueueInfo.kind:type_name -> temporal.api.enums.v1.TaskQueueKind
|
||||
7, // 8: temporal.server.api.persistence.v1.TaskQueueInfo.expiry_time:type_name -> google.protobuf.Timestamp
|
||||
7, // 9: temporal.server.api.persistence.v1.TaskQueueInfo.last_update_time:type_name -> google.protobuf.Timestamp
|
||||
3, // 10: temporal.server.api.persistence.v1.TaskQueueInfo.subqueues:type_name -> temporal.server.api.persistence.v1.SubqueueInfo
|
||||
5, // 11: temporal.server.api.persistence.v1.SubqueueInfo.key:type_name -> temporal.server.api.persistence.v1.SubqueueKey
|
||||
13, // 12: temporal.server.api.persistence.v1.SubqueueInfo.fair_ack_level:type_name -> temporal.server.api.taskqueue.v1.FairLevel
|
||||
13, // 13: temporal.server.api.persistence.v1.SubqueueInfo.fair_max_read_level:type_name -> temporal.server.api.taskqueue.v1.FairLevel
|
||||
4, // 14: temporal.server.api.persistence.v1.SubqueueInfo.top_k_fairness_counts:type_name -> temporal.server.api.persistence.v1.FairnessKeyCount
|
||||
7, // 15: temporal.server.api.persistence.v1.TaskKey.fire_time:type_name -> google.protobuf.Timestamp
|
||||
16, // [16:16] is the sub-list for method output_type
|
||||
16, // [16:16] is the sub-list for method input_type
|
||||
16, // [16:16] is the sub-list for extension type_name
|
||||
16, // [16:16] is the sub-list for extension extendee
|
||||
0, // [0:16] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_temporal_server_api_persistence_v1_tasks_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_tasks_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_tasks_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_tasks_proto_rawDesc), len(file_temporal_server_api_persistence_v1_tasks_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 7,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_tasks_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_tasks_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_tasks_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_tasks_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_tasks_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type UpdateAdmissionInfo to the protobuf v3 wire format
|
||||
func (val *UpdateAdmissionInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type UpdateAdmissionInfo from the protobuf v3 wire format
|
||||
func (val *UpdateAdmissionInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *UpdateAdmissionInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two UpdateAdmissionInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *UpdateAdmissionInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *UpdateAdmissionInfo
|
||||
switch t := that.(type) {
|
||||
case *UpdateAdmissionInfo:
|
||||
that1 = t
|
||||
case UpdateAdmissionInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type UpdateAcceptanceInfo to the protobuf v3 wire format
|
||||
func (val *UpdateAcceptanceInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type UpdateAcceptanceInfo from the protobuf v3 wire format
|
||||
func (val *UpdateAcceptanceInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *UpdateAcceptanceInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two UpdateAcceptanceInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *UpdateAcceptanceInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *UpdateAcceptanceInfo
|
||||
switch t := that.(type) {
|
||||
case *UpdateAcceptanceInfo:
|
||||
that1 = t
|
||||
case UpdateAcceptanceInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type UpdateCompletionInfo to the protobuf v3 wire format
|
||||
func (val *UpdateCompletionInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type UpdateCompletionInfo from the protobuf v3 wire format
|
||||
func (val *UpdateCompletionInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *UpdateCompletionInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two UpdateCompletionInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *UpdateCompletionInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *UpdateCompletionInfo
|
||||
switch t := that.(type) {
|
||||
case *UpdateCompletionInfo:
|
||||
that1 = t
|
||||
case UpdateCompletionInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type UpdateInfo to the protobuf v3 wire format
|
||||
func (val *UpdateInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type UpdateInfo from the protobuf v3 wire format
|
||||
func (val *UpdateInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *UpdateInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two UpdateInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *UpdateInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *UpdateInfo
|
||||
switch t := that.(type) {
|
||||
case *UpdateInfo:
|
||||
that1 = t
|
||||
case UpdateInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,455 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/update.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// UpdateAdmissionInfo contains information about a durably admitted update. Note that updates in Admitted state are typically
|
||||
// non-durable (i.e. do not have a corresponding event in history). Durably admitted updates arise as a result of
|
||||
// workflow reset or history event replication conflict: in these cases a WorkflowExecutionUpdateAdmittedEvent event is
|
||||
// created when an accepted update (on one branch of workflow history) is converted into an admitted update (on another
|
||||
// branch).
|
||||
type UpdateAdmissionInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to Location:
|
||||
//
|
||||
// *UpdateAdmissionInfo_HistoryPointer_
|
||||
Location isUpdateAdmissionInfo_Location `protobuf_oneof:"location"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo) Reset() {
|
||||
*x = UpdateAdmissionInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_update_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAdmissionInfo) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAdmissionInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_update_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 UpdateAdmissionInfo.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAdmissionInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo) GetLocation() isUpdateAdmissionInfo_Location {
|
||||
if x != nil {
|
||||
return x.Location
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo) GetHistoryPointer() *UpdateAdmissionInfo_HistoryPointer {
|
||||
if x != nil {
|
||||
if x, ok := x.Location.(*UpdateAdmissionInfo_HistoryPointer_); ok {
|
||||
return x.HistoryPointer
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isUpdateAdmissionInfo_Location interface {
|
||||
isUpdateAdmissionInfo_Location()
|
||||
}
|
||||
|
||||
type UpdateAdmissionInfo_HistoryPointer_ struct {
|
||||
HistoryPointer *UpdateAdmissionInfo_HistoryPointer `protobuf:"bytes,1,opt,name=history_pointer,json=historyPointer,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*UpdateAdmissionInfo_HistoryPointer_) isUpdateAdmissionInfo_Location() {}
|
||||
|
||||
// UpdateAcceptanceInfo contains information about an accepted update
|
||||
type UpdateAcceptanceInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// the event ID of the WorkflowExecutionUpdateAcceptedEvent
|
||||
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateAcceptanceInfo) Reset() {
|
||||
*x = UpdateAcceptanceInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_update_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateAcceptanceInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAcceptanceInfo) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAcceptanceInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_update_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 UpdateAcceptanceInfo.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAcceptanceInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *UpdateAcceptanceInfo) GetEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// UpdateCompletionInfo contains information about a completed update
|
||||
type UpdateCompletionInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// the event ID of the WorkflowExecutionUpdateCompletedEvent
|
||||
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||||
// the ID of the event batch containing the event_id above
|
||||
EventBatchId int64 `protobuf:"varint,2,opt,name=event_batch_id,json=eventBatchId,proto3" json:"event_batch_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateCompletionInfo) Reset() {
|
||||
*x = UpdateCompletionInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_update_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateCompletionInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateCompletionInfo) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateCompletionInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_update_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 UpdateCompletionInfo.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateCompletionInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *UpdateCompletionInfo) GetEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateCompletionInfo) GetEventBatchId() int64 {
|
||||
if x != nil {
|
||||
return x.EventBatchId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// UpdateInfo is the persistent state of a single update
|
||||
type UpdateInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to Value:
|
||||
//
|
||||
// *UpdateInfo_Acceptance
|
||||
// *UpdateInfo_Completion
|
||||
// *UpdateInfo_Admission
|
||||
Value isUpdateInfo_Value `protobuf_oneof:"value"`
|
||||
LastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,4,opt,name=last_update_versioned_transition,json=lastUpdateVersionedTransition,proto3" json:"last_update_versioned_transition,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) Reset() {
|
||||
*x = UpdateInfo{}
|
||||
mi := &file_temporal_server_api_persistence_v1_update_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateInfo) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_update_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 UpdateInfo.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateInfo) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) GetValue() isUpdateInfo_Value {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) GetAcceptance() *UpdateAcceptanceInfo {
|
||||
if x != nil {
|
||||
if x, ok := x.Value.(*UpdateInfo_Acceptance); ok {
|
||||
return x.Acceptance
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) GetCompletion() *UpdateCompletionInfo {
|
||||
if x != nil {
|
||||
if x, ok := x.Value.(*UpdateInfo_Completion); ok {
|
||||
return x.Completion
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) GetAdmission() *UpdateAdmissionInfo {
|
||||
if x != nil {
|
||||
if x, ok := x.Value.(*UpdateInfo_Admission); ok {
|
||||
return x.Admission
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateInfo) GetLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.LastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isUpdateInfo_Value interface {
|
||||
isUpdateInfo_Value()
|
||||
}
|
||||
|
||||
type UpdateInfo_Acceptance struct {
|
||||
// update has been accepted and this is the acceptance metadata
|
||||
Acceptance *UpdateAcceptanceInfo `protobuf:"bytes,1,opt,name=acceptance,proto3,oneof"`
|
||||
}
|
||||
|
||||
type UpdateInfo_Completion struct {
|
||||
// update has been completed and this is the completion metadata
|
||||
Completion *UpdateCompletionInfo `protobuf:"bytes,2,opt,name=completion,proto3,oneof"`
|
||||
}
|
||||
|
||||
type UpdateInfo_Admission struct {
|
||||
// update has been admitted and this is the admission metadata
|
||||
Admission *UpdateAdmissionInfo `protobuf:"bytes,3,opt,name=admission,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*UpdateInfo_Acceptance) isUpdateInfo_Value() {}
|
||||
|
||||
func (*UpdateInfo_Completion) isUpdateInfo_Value() {}
|
||||
|
||||
func (*UpdateInfo_Admission) isUpdateInfo_Value() {}
|
||||
|
||||
type UpdateAdmissionInfo_HistoryPointer struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// the event ID of the WorkflowExecutionUpdateAdmittedEvent
|
||||
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||||
// the ID of the event batch containing the event_id
|
||||
EventBatchId int64 `protobuf:"varint,2,opt,name=event_batch_id,json=eventBatchId,proto3" json:"event_batch_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo_HistoryPointer) Reset() {
|
||||
*x = UpdateAdmissionInfo_HistoryPointer{}
|
||||
mi := &file_temporal_server_api_persistence_v1_update_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo_HistoryPointer) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAdmissionInfo_HistoryPointer) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAdmissionInfo_HistoryPointer) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_update_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 UpdateAdmissionInfo_HistoryPointer.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAdmissionInfo_HistoryPointer) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo_HistoryPointer) GetEventId() int64 {
|
||||
if x != nil {
|
||||
return x.EventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateAdmissionInfo_HistoryPointer) GetEventBatchId() int64 {
|
||||
if x != nil {
|
||||
return x.EventBatchId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_update_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_update_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"/temporal/server/api/persistence/v1/update.proto\x12\"temporal.server.api.persistence.v1\x1a,temporal/server/api/persistence/v1/hsm.proto\"\xe7\x01\n" +
|
||||
"\x13UpdateAdmissionInfo\x12q\n" +
|
||||
"\x0fhistory_pointer\x18\x01 \x01(\v2F.temporal.server.api.persistence.v1.UpdateAdmissionInfo.HistoryPointerH\x00R\x0ehistoryPointer\x1aQ\n" +
|
||||
"\x0eHistoryPointer\x12\x19\n" +
|
||||
"\bevent_id\x18\x01 \x01(\x03R\aeventId\x12$\n" +
|
||||
"\x0eevent_batch_id\x18\x02 \x01(\x03R\feventBatchIdB\n" +
|
||||
"\n" +
|
||||
"\blocation\"1\n" +
|
||||
"\x14UpdateAcceptanceInfo\x12\x19\n" +
|
||||
"\bevent_id\x18\x01 \x01(\x03R\aeventId\"W\n" +
|
||||
"\x14UpdateCompletionInfo\x12\x19\n" +
|
||||
"\bevent_id\x18\x01 \x01(\x03R\aeventId\x12$\n" +
|
||||
"\x0eevent_batch_id\x18\x02 \x01(\x03R\feventBatchId\"\xa9\x03\n" +
|
||||
"\n" +
|
||||
"UpdateInfo\x12Z\n" +
|
||||
"\n" +
|
||||
"acceptance\x18\x01 \x01(\v28.temporal.server.api.persistence.v1.UpdateAcceptanceInfoH\x00R\n" +
|
||||
"acceptance\x12Z\n" +
|
||||
"\n" +
|
||||
"completion\x18\x02 \x01(\v28.temporal.server.api.persistence.v1.UpdateCompletionInfoH\x00R\n" +
|
||||
"completion\x12W\n" +
|
||||
"\tadmission\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.UpdateAdmissionInfoH\x00R\tadmission\x12\x80\x01\n" +
|
||||
" last_update_versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1dlastUpdateVersionedTransitionB\a\n" +
|
||||
"\x05valueB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_update_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_update_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_update_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_update_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_update_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_update_proto_rawDesc), len(file_temporal_server_api_persistence_v1_update_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_update_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_update_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_temporal_server_api_persistence_v1_update_proto_goTypes = []any{
|
||||
(*UpdateAdmissionInfo)(nil), // 0: temporal.server.api.persistence.v1.UpdateAdmissionInfo
|
||||
(*UpdateAcceptanceInfo)(nil), // 1: temporal.server.api.persistence.v1.UpdateAcceptanceInfo
|
||||
(*UpdateCompletionInfo)(nil), // 2: temporal.server.api.persistence.v1.UpdateCompletionInfo
|
||||
(*UpdateInfo)(nil), // 3: temporal.server.api.persistence.v1.UpdateInfo
|
||||
(*UpdateAdmissionInfo_HistoryPointer)(nil), // 4: temporal.server.api.persistence.v1.UpdateAdmissionInfo.HistoryPointer
|
||||
(*VersionedTransition)(nil), // 5: temporal.server.api.persistence.v1.VersionedTransition
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_update_proto_depIdxs = []int32{
|
||||
4, // 0: temporal.server.api.persistence.v1.UpdateAdmissionInfo.history_pointer:type_name -> temporal.server.api.persistence.v1.UpdateAdmissionInfo.HistoryPointer
|
||||
1, // 1: temporal.server.api.persistence.v1.UpdateInfo.acceptance:type_name -> temporal.server.api.persistence.v1.UpdateAcceptanceInfo
|
||||
2, // 2: temporal.server.api.persistence.v1.UpdateInfo.completion:type_name -> temporal.server.api.persistence.v1.UpdateCompletionInfo
|
||||
0, // 3: temporal.server.api.persistence.v1.UpdateInfo.admission:type_name -> temporal.server.api.persistence.v1.UpdateAdmissionInfo
|
||||
5, // 4: temporal.server.api.persistence.v1.UpdateInfo.last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
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_server_api_persistence_v1_update_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_update_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_update_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_init()
|
||||
file_temporal_server_api_persistence_v1_update_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*UpdateAdmissionInfo_HistoryPointer_)(nil),
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_update_proto_msgTypes[3].OneofWrappers = []any{
|
||||
(*UpdateInfo_Acceptance)(nil),
|
||||
(*UpdateInfo_Completion)(nil),
|
||||
(*UpdateInfo_Admission)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_update_proto_rawDesc), len(file_temporal_server_api_persistence_v1_update_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_update_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_update_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_update_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_update_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_update_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_update_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type WorkflowMutableState to the protobuf v3 wire format
|
||||
func (val *WorkflowMutableState) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type WorkflowMutableState from the protobuf v3 wire format
|
||||
func (val *WorkflowMutableState) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *WorkflowMutableState) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two WorkflowMutableState values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *WorkflowMutableState) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *WorkflowMutableState
|
||||
switch t := that.(type) {
|
||||
case *WorkflowMutableState:
|
||||
that1 = t
|
||||
case WorkflowMutableState:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type WorkflowMutableStateMutation to the protobuf v3 wire format
|
||||
func (val *WorkflowMutableStateMutation) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type WorkflowMutableStateMutation from the protobuf v3 wire format
|
||||
func (val *WorkflowMutableStateMutation) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *WorkflowMutableStateMutation) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two WorkflowMutableStateMutation values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *WorkflowMutableStateMutation) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *WorkflowMutableStateMutation
|
||||
switch t := that.(type) {
|
||||
case *WorkflowMutableStateMutation:
|
||||
that1 = t
|
||||
case WorkflowMutableStateMutation:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
@@ -1,560 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// plugins:
|
||||
// protoc-gen-go
|
||||
// protoc
|
||||
// source: temporal/server/api/persistence/v1/workflow_mutable_state.proto
|
||||
|
||||
package persistence
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
v1 "go.temporal.io/api/history/v1"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
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 WorkflowMutableState struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ActivityInfos map[int64]*ActivityInfo `protobuf:"bytes,1,rep,name=activity_infos,json=activityInfos,proto3" json:"activity_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
TimerInfos map[string]*TimerInfo `protobuf:"bytes,2,rep,name=timer_infos,json=timerInfos,proto3" json:"timer_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ChildExecutionInfos map[int64]*ChildExecutionInfo `protobuf:"bytes,3,rep,name=child_execution_infos,json=childExecutionInfos,proto3" json:"child_execution_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
RequestCancelInfos map[int64]*RequestCancelInfo `protobuf:"bytes,4,rep,name=request_cancel_infos,json=requestCancelInfos,proto3" json:"request_cancel_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
SignalInfos map[int64]*SignalInfo `protobuf:"bytes,5,rep,name=signal_infos,json=signalInfos,proto3" json:"signal_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ChasmNodes map[string]*ChasmNode `protobuf:"bytes,12,rep,name=chasm_nodes,json=chasmNodes,proto3" json:"chasm_nodes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
SignalRequestedIds []string `protobuf:"bytes,6,rep,name=signal_requested_ids,json=signalRequestedIds,proto3" json:"signal_requested_ids,omitempty"`
|
||||
ExecutionInfo *WorkflowExecutionInfo `protobuf:"bytes,7,opt,name=execution_info,json=executionInfo,proto3" json:"execution_info,omitempty"`
|
||||
ExecutionState *WorkflowExecutionState `protobuf:"bytes,8,opt,name=execution_state,json=executionState,proto3" json:"execution_state,omitempty"`
|
||||
NextEventId int64 `protobuf:"varint,9,opt,name=next_event_id,json=nextEventId,proto3" json:"next_event_id,omitempty"`
|
||||
BufferedEvents []*v1.HistoryEvent `protobuf:"bytes,10,rep,name=buffered_events,json=bufferedEvents,proto3" json:"buffered_events,omitempty"`
|
||||
Checksum *Checksum `protobuf:"bytes,11,opt,name=checksum,proto3" json:"checksum,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) Reset() {
|
||||
*x = WorkflowMutableState{}
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WorkflowMutableState) ProtoMessage() {}
|
||||
|
||||
func (x *WorkflowMutableState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_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 WorkflowMutableState.ProtoReflect.Descriptor instead.
|
||||
func (*WorkflowMutableState) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetActivityInfos() map[int64]*ActivityInfo {
|
||||
if x != nil {
|
||||
return x.ActivityInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetTimerInfos() map[string]*TimerInfo {
|
||||
if x != nil {
|
||||
return x.TimerInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetChildExecutionInfos() map[int64]*ChildExecutionInfo {
|
||||
if x != nil {
|
||||
return x.ChildExecutionInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetRequestCancelInfos() map[int64]*RequestCancelInfo {
|
||||
if x != nil {
|
||||
return x.RequestCancelInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetSignalInfos() map[int64]*SignalInfo {
|
||||
if x != nil {
|
||||
return x.SignalInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetChasmNodes() map[string]*ChasmNode {
|
||||
if x != nil {
|
||||
return x.ChasmNodes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetSignalRequestedIds() []string {
|
||||
if x != nil {
|
||||
return x.SignalRequestedIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetExecutionInfo() *WorkflowExecutionInfo {
|
||||
if x != nil {
|
||||
return x.ExecutionInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetExecutionState() *WorkflowExecutionState {
|
||||
if x != nil {
|
||||
return x.ExecutionState
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetNextEventId() int64 {
|
||||
if x != nil {
|
||||
return x.NextEventId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetBufferedEvents() []*v1.HistoryEvent {
|
||||
if x != nil {
|
||||
return x.BufferedEvents
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableState) GetChecksum() *Checksum {
|
||||
if x != nil {
|
||||
return x.Checksum
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type WorkflowMutableStateMutation struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The following updated_* fields are computed based on the
|
||||
// lastUpdateVersionedTransition field of each sub state machine.
|
||||
UpdatedActivityInfos map[int64]*ActivityInfo `protobuf:"bytes,1,rep,name=updated_activity_infos,json=updatedActivityInfos,proto3" json:"updated_activity_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedTimerInfos map[string]*TimerInfo `protobuf:"bytes,2,rep,name=updated_timer_infos,json=updatedTimerInfos,proto3" json:"updated_timer_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedChildExecutionInfos map[int64]*ChildExecutionInfo `protobuf:"bytes,3,rep,name=updated_child_execution_infos,json=updatedChildExecutionInfos,proto3" json:"updated_child_execution_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedRequestCancelInfos map[int64]*RequestCancelInfo `protobuf:"bytes,4,rep,name=updated_request_cancel_infos,json=updatedRequestCancelInfos,proto3" json:"updated_request_cancel_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedSignalInfos map[int64]*SignalInfo `protobuf:"bytes,5,rep,name=updated_signal_infos,json=updatedSignalInfos,proto3" json:"updated_signal_infos,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedUpdateInfos map[string]*UpdateInfo `protobuf:"bytes,6,rep,name=updated_update_infos,json=updatedUpdateInfos,proto3" json:"updated_update_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
UpdatedSubStateMachines []*WorkflowMutableStateMutation_StateMachineNodeMutation `protobuf:"bytes,7,rep,name=updated_sub_state_machines,json=updatedSubStateMachines,proto3" json:"updated_sub_state_machines,omitempty"`
|
||||
UpdatedChasmNodes map[string]*ChasmNode `protobuf:"bytes,19,rep,name=updated_chasm_nodes,json=updatedChasmNodes,proto3" json:"updated_chasm_nodes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
SignalRequestedIds []string `protobuf:"bytes,15,rep,name=signal_requested_ids,json=signalRequestedIds,proto3" json:"signal_requested_ids,omitempty"`
|
||||
// Partial WorkflowExecutionInfo. Some fields, such as
|
||||
// update_infos and sub_state_machines_by_type, are not populated here.
|
||||
// Instead, only diffs are synced in the deleted_* and updated_* fields above.
|
||||
ExecutionInfo *WorkflowExecutionInfo `protobuf:"bytes,16,opt,name=execution_info,json=executionInfo,proto3" json:"execution_info,omitempty"`
|
||||
ExecutionState *WorkflowExecutionState `protobuf:"bytes,17,opt,name=execution_state,json=executionState,proto3" json:"execution_state,omitempty"`
|
||||
SubStateMachineTombstoneBatches []*StateMachineTombstoneBatch `protobuf:"bytes,18,rep,name=sub_state_machine_tombstone_batches,json=subStateMachineTombstoneBatches,proto3" json:"sub_state_machine_tombstone_batches,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) Reset() {
|
||||
*x = WorkflowMutableStateMutation{}
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WorkflowMutableStateMutation) ProtoMessage() {}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_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 WorkflowMutableStateMutation.ProtoReflect.Descriptor instead.
|
||||
func (*WorkflowMutableStateMutation) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedActivityInfos() map[int64]*ActivityInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedActivityInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedTimerInfos() map[string]*TimerInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedTimerInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedChildExecutionInfos() map[int64]*ChildExecutionInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedChildExecutionInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedRequestCancelInfos() map[int64]*RequestCancelInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedRequestCancelInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedSignalInfos() map[int64]*SignalInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedSignalInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedUpdateInfos() map[string]*UpdateInfo {
|
||||
if x != nil {
|
||||
return x.UpdatedUpdateInfos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedSubStateMachines() []*WorkflowMutableStateMutation_StateMachineNodeMutation {
|
||||
if x != nil {
|
||||
return x.UpdatedSubStateMachines
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetUpdatedChasmNodes() map[string]*ChasmNode {
|
||||
if x != nil {
|
||||
return x.UpdatedChasmNodes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetSignalRequestedIds() []string {
|
||||
if x != nil {
|
||||
return x.SignalRequestedIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetExecutionInfo() *WorkflowExecutionInfo {
|
||||
if x != nil {
|
||||
return x.ExecutionInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetExecutionState() *WorkflowExecutionState {
|
||||
if x != nil {
|
||||
return x.ExecutionState
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation) GetSubStateMachineTombstoneBatches() []*StateMachineTombstoneBatch {
|
||||
if x != nil {
|
||||
return x.SubStateMachineTombstoneBatches
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type WorkflowMutableStateMutation_StateMachineNodeMutation struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Path *StateMachinePath `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||
InitialVersionedTransition *VersionedTransition `protobuf:"bytes,3,opt,name=initial_versioned_transition,json=initialVersionedTransition,proto3" json:"initial_versioned_transition,omitempty"`
|
||||
LastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,4,opt,name=last_update_versioned_transition,json=lastUpdateVersionedTransition,proto3" json:"last_update_versioned_transition,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) Reset() {
|
||||
*x = WorkflowMutableStateMutation_StateMachineNodeMutation{}
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WorkflowMutableStateMutation_StateMachineNodeMutation) ProtoMessage() {}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_temporal_server_api_persistence_v1_workflow_mutable_state_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 WorkflowMutableStateMutation_StateMachineNodeMutation.ProtoReflect.Descriptor instead.
|
||||
func (*WorkflowMutableStateMutation_StateMachineNodeMutation) Descriptor() ([]byte, []int) {
|
||||
return file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescGZIP(), []int{1, 0}
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) GetPath() *StateMachinePath {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) GetData() []byte {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) GetInitialVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.InitialVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkflowMutableStateMutation_StateMachineNodeMutation) GetLastUpdateVersionedTransition() *VersionedTransition {
|
||||
if x != nil {
|
||||
return x.LastUpdateVersionedTransition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_temporal_server_api_persistence_v1_workflow_mutable_state_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"?temporal/server/api/persistence/v1/workflow_mutable_state.proto\x12\"temporal.server.api.persistence.v1\x1a%temporal/api/history/v1/message.proto\x1a3temporal/server/api/persistence/v1/executions.proto\x1a,temporal/server/api/persistence/v1/hsm.proto\x1a.temporal/server/api/persistence/v1/chasm.proto\x1a/temporal/server/api/persistence/v1/update.proto\"\xd0\x0e\n" +
|
||||
"\x14WorkflowMutableState\x12r\n" +
|
||||
"\x0eactivity_infos\x18\x01 \x03(\v2K.temporal.server.api.persistence.v1.WorkflowMutableState.ActivityInfosEntryR\ractivityInfos\x12i\n" +
|
||||
"\vtimer_infos\x18\x02 \x03(\v2H.temporal.server.api.persistence.v1.WorkflowMutableState.TimerInfosEntryR\n" +
|
||||
"timerInfos\x12\x85\x01\n" +
|
||||
"\x15child_execution_infos\x18\x03 \x03(\v2Q.temporal.server.api.persistence.v1.WorkflowMutableState.ChildExecutionInfosEntryR\x13childExecutionInfos\x12\x82\x01\n" +
|
||||
"\x14request_cancel_infos\x18\x04 \x03(\v2P.temporal.server.api.persistence.v1.WorkflowMutableState.RequestCancelInfosEntryR\x12requestCancelInfos\x12l\n" +
|
||||
"\fsignal_infos\x18\x05 \x03(\v2I.temporal.server.api.persistence.v1.WorkflowMutableState.SignalInfosEntryR\vsignalInfos\x12i\n" +
|
||||
"\vchasm_nodes\x18\f \x03(\v2H.temporal.server.api.persistence.v1.WorkflowMutableState.ChasmNodesEntryR\n" +
|
||||
"chasmNodes\x120\n" +
|
||||
"\x14signal_requested_ids\x18\x06 \x03(\tR\x12signalRequestedIds\x12`\n" +
|
||||
"\x0eexecution_info\x18\a \x01(\v29.temporal.server.api.persistence.v1.WorkflowExecutionInfoR\rexecutionInfo\x12c\n" +
|
||||
"\x0fexecution_state\x18\b \x01(\v2:.temporal.server.api.persistence.v1.WorkflowExecutionStateR\x0eexecutionState\x12\"\n" +
|
||||
"\rnext_event_id\x18\t \x01(\x03R\vnextEventId\x12N\n" +
|
||||
"\x0fbuffered_events\x18\n" +
|
||||
" \x03(\v2%.temporal.api.history.v1.HistoryEventR\x0ebufferedEvents\x12H\n" +
|
||||
"\bchecksum\x18\v \x01(\v2,.temporal.server.api.persistence.v1.ChecksumR\bchecksum\x1ar\n" +
|
||||
"\x12ActivityInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12F\n" +
|
||||
"\x05value\x18\x02 \x01(\v20.temporal.server.api.persistence.v1.ActivityInfoR\x05value:\x028\x01\x1al\n" +
|
||||
"\x0fTimerInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12C\n" +
|
||||
"\x05value\x18\x02 \x01(\v2-.temporal.server.api.persistence.v1.TimerInfoR\x05value:\x028\x01\x1a~\n" +
|
||||
"\x18ChildExecutionInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12L\n" +
|
||||
"\x05value\x18\x02 \x01(\v26.temporal.server.api.persistence.v1.ChildExecutionInfoR\x05value:\x028\x01\x1a|\n" +
|
||||
"\x17RequestCancelInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12K\n" +
|
||||
"\x05value\x18\x02 \x01(\v25.temporal.server.api.persistence.v1.RequestCancelInfoR\x05value:\x028\x01\x1an\n" +
|
||||
"\x10SignalInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12D\n" +
|
||||
"\x05value\x18\x02 \x01(\v2..temporal.server.api.persistence.v1.SignalInfoR\x05value:\x028\x01\x1al\n" +
|
||||
"\x0fChasmNodesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12C\n" +
|
||||
"\x05value\x18\x02 \x01(\v2-.temporal.server.api.persistence.v1.ChasmNodeR\x05value:\x028\x01\"\xcd\x16\n" +
|
||||
"\x1cWorkflowMutableStateMutation\x12\x90\x01\n" +
|
||||
"\x16updated_activity_infos\x18\x01 \x03(\v2Z.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedActivityInfosEntryR\x14updatedActivityInfos\x12\x87\x01\n" +
|
||||
"\x13updated_timer_infos\x18\x02 \x03(\v2W.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedTimerInfosEntryR\x11updatedTimerInfos\x12\xa3\x01\n" +
|
||||
"\x1dupdated_child_execution_infos\x18\x03 \x03(\v2`.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChildExecutionInfosEntryR\x1aupdatedChildExecutionInfos\x12\xa0\x01\n" +
|
||||
"\x1cupdated_request_cancel_infos\x18\x04 \x03(\v2_.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedRequestCancelInfosEntryR\x19updatedRequestCancelInfos\x12\x8a\x01\n" +
|
||||
"\x14updated_signal_infos\x18\x05 \x03(\v2X.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedSignalInfosEntryR\x12updatedSignalInfos\x12\x8a\x01\n" +
|
||||
"\x14updated_update_infos\x18\x06 \x03(\v2X.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedUpdateInfosEntryR\x12updatedUpdateInfos\x12\x96\x01\n" +
|
||||
"\x1aupdated_sub_state_machines\x18\a \x03(\v2Y.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutationR\x17updatedSubStateMachines\x12\x87\x01\n" +
|
||||
"\x13updated_chasm_nodes\x18\x13 \x03(\v2W.temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChasmNodesEntryR\x11updatedChasmNodes\x120\n" +
|
||||
"\x14signal_requested_ids\x18\x0f \x03(\tR\x12signalRequestedIds\x12`\n" +
|
||||
"\x0eexecution_info\x18\x10 \x01(\v29.temporal.server.api.persistence.v1.WorkflowExecutionInfoR\rexecutionInfo\x12c\n" +
|
||||
"\x0fexecution_state\x18\x11 \x01(\v2:.temporal.server.api.persistence.v1.WorkflowExecutionStateR\x0eexecutionState\x12\x8c\x01\n" +
|
||||
"#sub_state_machine_tombstone_batches\x18\x12 \x03(\v2>.temporal.server.api.persistence.v1.StateMachineTombstoneBatchR\x1fsubStateMachineTombstoneBatches\x1a\xf6\x02\n" +
|
||||
"\x18StateMachineNodeMutation\x12H\n" +
|
||||
"\x04path\x18\x01 \x01(\v24.temporal.server.api.persistence.v1.StateMachinePathR\x04path\x12\x12\n" +
|
||||
"\x04data\x18\x02 \x01(\fR\x04data\x12y\n" +
|
||||
"\x1cinitial_versioned_transition\x18\x03 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1ainitialVersionedTransition\x12\x80\x01\n" +
|
||||
" last_update_versioned_transition\x18\x04 \x01(\v27.temporal.server.api.persistence.v1.VersionedTransitionR\x1dlastUpdateVersionedTransition\x1ay\n" +
|
||||
"\x19UpdatedActivityInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12F\n" +
|
||||
"\x05value\x18\x02 \x01(\v20.temporal.server.api.persistence.v1.ActivityInfoR\x05value:\x028\x01\x1as\n" +
|
||||
"\x16UpdatedTimerInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12C\n" +
|
||||
"\x05value\x18\x02 \x01(\v2-.temporal.server.api.persistence.v1.TimerInfoR\x05value:\x028\x01\x1a\x85\x01\n" +
|
||||
"\x1fUpdatedChildExecutionInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12L\n" +
|
||||
"\x05value\x18\x02 \x01(\v26.temporal.server.api.persistence.v1.ChildExecutionInfoR\x05value:\x028\x01\x1a\x83\x01\n" +
|
||||
"\x1eUpdatedRequestCancelInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12K\n" +
|
||||
"\x05value\x18\x02 \x01(\v25.temporal.server.api.persistence.v1.RequestCancelInfoR\x05value:\x028\x01\x1au\n" +
|
||||
"\x17UpdatedSignalInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\x03R\x03key\x12D\n" +
|
||||
"\x05value\x18\x02 \x01(\v2..temporal.server.api.persistence.v1.SignalInfoR\x05value:\x028\x01\x1au\n" +
|
||||
"\x17UpdatedUpdateInfosEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12D\n" +
|
||||
"\x05value\x18\x02 \x01(\v2..temporal.server.api.persistence.v1.UpdateInfoR\x05value:\x028\x01\x1as\n" +
|
||||
"\x16UpdatedChasmNodesEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12C\n" +
|
||||
"\x05value\x18\x02 \x01(\v2-.temporal.server.api.persistence.v1.ChasmNodeR\x05value:\x028\x01J\x04\b\b\x10\tJ\x04\b\t\x10\n" +
|
||||
"J\x04\b\n" +
|
||||
"\x10\vJ\x04\b\v\x10\fJ\x04\b\f\x10\rJ\x04\b\r\x10\x0eJ\x04\b\x0e\x10\x0fB6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
||||
|
||||
var (
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescOnce sync.Once
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescGZIP() []byte {
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescOnce.Do(func() {
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDesc), len(file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDesc)))
|
||||
})
|
||||
return file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_goTypes = []any{
|
||||
(*WorkflowMutableState)(nil), // 0: temporal.server.api.persistence.v1.WorkflowMutableState
|
||||
(*WorkflowMutableStateMutation)(nil), // 1: temporal.server.api.persistence.v1.WorkflowMutableStateMutation
|
||||
nil, // 2: temporal.server.api.persistence.v1.WorkflowMutableState.ActivityInfosEntry
|
||||
nil, // 3: temporal.server.api.persistence.v1.WorkflowMutableState.TimerInfosEntry
|
||||
nil, // 4: temporal.server.api.persistence.v1.WorkflowMutableState.ChildExecutionInfosEntry
|
||||
nil, // 5: temporal.server.api.persistence.v1.WorkflowMutableState.RequestCancelInfosEntry
|
||||
nil, // 6: temporal.server.api.persistence.v1.WorkflowMutableState.SignalInfosEntry
|
||||
nil, // 7: temporal.server.api.persistence.v1.WorkflowMutableState.ChasmNodesEntry
|
||||
(*WorkflowMutableStateMutation_StateMachineNodeMutation)(nil), // 8: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutation
|
||||
nil, // 9: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedActivityInfosEntry
|
||||
nil, // 10: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedTimerInfosEntry
|
||||
nil, // 11: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChildExecutionInfosEntry
|
||||
nil, // 12: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedRequestCancelInfosEntry
|
||||
nil, // 13: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedSignalInfosEntry
|
||||
nil, // 14: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedUpdateInfosEntry
|
||||
nil, // 15: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChasmNodesEntry
|
||||
(*WorkflowExecutionInfo)(nil), // 16: temporal.server.api.persistence.v1.WorkflowExecutionInfo
|
||||
(*WorkflowExecutionState)(nil), // 17: temporal.server.api.persistence.v1.WorkflowExecutionState
|
||||
(*v1.HistoryEvent)(nil), // 18: temporal.api.history.v1.HistoryEvent
|
||||
(*Checksum)(nil), // 19: temporal.server.api.persistence.v1.Checksum
|
||||
(*StateMachineTombstoneBatch)(nil), // 20: temporal.server.api.persistence.v1.StateMachineTombstoneBatch
|
||||
(*ActivityInfo)(nil), // 21: temporal.server.api.persistence.v1.ActivityInfo
|
||||
(*TimerInfo)(nil), // 22: temporal.server.api.persistence.v1.TimerInfo
|
||||
(*ChildExecutionInfo)(nil), // 23: temporal.server.api.persistence.v1.ChildExecutionInfo
|
||||
(*RequestCancelInfo)(nil), // 24: temporal.server.api.persistence.v1.RequestCancelInfo
|
||||
(*SignalInfo)(nil), // 25: temporal.server.api.persistence.v1.SignalInfo
|
||||
(*ChasmNode)(nil), // 26: temporal.server.api.persistence.v1.ChasmNode
|
||||
(*StateMachinePath)(nil), // 27: temporal.server.api.persistence.v1.StateMachinePath
|
||||
(*VersionedTransition)(nil), // 28: temporal.server.api.persistence.v1.VersionedTransition
|
||||
(*UpdateInfo)(nil), // 29: temporal.server.api.persistence.v1.UpdateInfo
|
||||
}
|
||||
var file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_depIdxs = []int32{
|
||||
2, // 0: temporal.server.api.persistence.v1.WorkflowMutableState.activity_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.ActivityInfosEntry
|
||||
3, // 1: temporal.server.api.persistence.v1.WorkflowMutableState.timer_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.TimerInfosEntry
|
||||
4, // 2: temporal.server.api.persistence.v1.WorkflowMutableState.child_execution_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.ChildExecutionInfosEntry
|
||||
5, // 3: temporal.server.api.persistence.v1.WorkflowMutableState.request_cancel_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.RequestCancelInfosEntry
|
||||
6, // 4: temporal.server.api.persistence.v1.WorkflowMutableState.signal_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.SignalInfosEntry
|
||||
7, // 5: temporal.server.api.persistence.v1.WorkflowMutableState.chasm_nodes:type_name -> temporal.server.api.persistence.v1.WorkflowMutableState.ChasmNodesEntry
|
||||
16, // 6: temporal.server.api.persistence.v1.WorkflowMutableState.execution_info:type_name -> temporal.server.api.persistence.v1.WorkflowExecutionInfo
|
||||
17, // 7: temporal.server.api.persistence.v1.WorkflowMutableState.execution_state:type_name -> temporal.server.api.persistence.v1.WorkflowExecutionState
|
||||
18, // 8: temporal.server.api.persistence.v1.WorkflowMutableState.buffered_events:type_name -> temporal.api.history.v1.HistoryEvent
|
||||
19, // 9: temporal.server.api.persistence.v1.WorkflowMutableState.checksum:type_name -> temporal.server.api.persistence.v1.Checksum
|
||||
9, // 10: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_activity_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedActivityInfosEntry
|
||||
10, // 11: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_timer_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedTimerInfosEntry
|
||||
11, // 12: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_child_execution_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChildExecutionInfosEntry
|
||||
12, // 13: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_request_cancel_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedRequestCancelInfosEntry
|
||||
13, // 14: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_signal_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedSignalInfosEntry
|
||||
14, // 15: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_update_infos:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedUpdateInfosEntry
|
||||
8, // 16: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_sub_state_machines:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutation
|
||||
15, // 17: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.updated_chasm_nodes:type_name -> temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChasmNodesEntry
|
||||
16, // 18: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.execution_info:type_name -> temporal.server.api.persistence.v1.WorkflowExecutionInfo
|
||||
17, // 19: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.execution_state:type_name -> temporal.server.api.persistence.v1.WorkflowExecutionState
|
||||
20, // 20: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.sub_state_machine_tombstone_batches:type_name -> temporal.server.api.persistence.v1.StateMachineTombstoneBatch
|
||||
21, // 21: temporal.server.api.persistence.v1.WorkflowMutableState.ActivityInfosEntry.value:type_name -> temporal.server.api.persistence.v1.ActivityInfo
|
||||
22, // 22: temporal.server.api.persistence.v1.WorkflowMutableState.TimerInfosEntry.value:type_name -> temporal.server.api.persistence.v1.TimerInfo
|
||||
23, // 23: temporal.server.api.persistence.v1.WorkflowMutableState.ChildExecutionInfosEntry.value:type_name -> temporal.server.api.persistence.v1.ChildExecutionInfo
|
||||
24, // 24: temporal.server.api.persistence.v1.WorkflowMutableState.RequestCancelInfosEntry.value:type_name -> temporal.server.api.persistence.v1.RequestCancelInfo
|
||||
25, // 25: temporal.server.api.persistence.v1.WorkflowMutableState.SignalInfosEntry.value:type_name -> temporal.server.api.persistence.v1.SignalInfo
|
||||
26, // 26: temporal.server.api.persistence.v1.WorkflowMutableState.ChasmNodesEntry.value:type_name -> temporal.server.api.persistence.v1.ChasmNode
|
||||
27, // 27: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutation.path:type_name -> temporal.server.api.persistence.v1.StateMachinePath
|
||||
28, // 28: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutation.initial_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
28, // 29: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.StateMachineNodeMutation.last_update_versioned_transition:type_name -> temporal.server.api.persistence.v1.VersionedTransition
|
||||
21, // 30: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedActivityInfosEntry.value:type_name -> temporal.server.api.persistence.v1.ActivityInfo
|
||||
22, // 31: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedTimerInfosEntry.value:type_name -> temporal.server.api.persistence.v1.TimerInfo
|
||||
23, // 32: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChildExecutionInfosEntry.value:type_name -> temporal.server.api.persistence.v1.ChildExecutionInfo
|
||||
24, // 33: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedRequestCancelInfosEntry.value:type_name -> temporal.server.api.persistence.v1.RequestCancelInfo
|
||||
25, // 34: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedSignalInfosEntry.value:type_name -> temporal.server.api.persistence.v1.SignalInfo
|
||||
29, // 35: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedUpdateInfosEntry.value:type_name -> temporal.server.api.persistence.v1.UpdateInfo
|
||||
26, // 36: temporal.server.api.persistence.v1.WorkflowMutableStateMutation.UpdatedChasmNodesEntry.value:type_name -> temporal.server.api.persistence.v1.ChasmNode
|
||||
37, // [37:37] is the sub-list for method output_type
|
||||
37, // [37:37] 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_temporal_server_api_persistence_v1_workflow_mutable_state_proto_init() }
|
||||
func file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_init() {
|
||||
if File_temporal_server_api_persistence_v1_workflow_mutable_state_proto != nil {
|
||||
return
|
||||
}
|
||||
file_temporal_server_api_persistence_v1_executions_proto_init()
|
||||
file_temporal_server_api_persistence_v1_hsm_proto_init()
|
||||
file_temporal_server_api_persistence_v1_chasm_proto_init()
|
||||
file_temporal_server_api_persistence_v1_update_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDesc), len(file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 16,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_goTypes,
|
||||
DependencyIndexes: file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_depIdxs,
|
||||
MessageInfos: file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_msgTypes,
|
||||
}.Build()
|
||||
File_temporal_server_api_persistence_v1_workflow_mutable_state_proto = out.File
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_goTypes = nil
|
||||
file_temporal_server_api_persistence_v1_workflow_mutable_state_proto_depIdxs = nil
|
||||
}
|
||||
@@ -1,857 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package repication
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type ReplicationTask to the protobuf v3 wire format
|
||||
func (val *ReplicationTask) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReplicationTask from the protobuf v3 wire format
|
||||
func (val *ReplicationTask) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReplicationTask) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReplicationTask values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReplicationTask) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReplicationTask
|
||||
switch t := that.(type) {
|
||||
case *ReplicationTask:
|
||||
that1 = t
|
||||
case ReplicationTask:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ReplicationToken to the protobuf v3 wire format
|
||||
func (val *ReplicationToken) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReplicationToken from the protobuf v3 wire format
|
||||
func (val *ReplicationToken) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReplicationToken) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReplicationToken values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReplicationToken) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReplicationToken
|
||||
switch t := that.(type) {
|
||||
case *ReplicationToken:
|
||||
that1 = t
|
||||
case ReplicationToken:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncShardStatus to the protobuf v3 wire format
|
||||
func (val *SyncShardStatus) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncShardStatus from the protobuf v3 wire format
|
||||
func (val *SyncShardStatus) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncShardStatus) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncShardStatus values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncShardStatus) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncShardStatus
|
||||
switch t := that.(type) {
|
||||
case *SyncShardStatus:
|
||||
that1 = t
|
||||
case SyncShardStatus:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncReplicationState to the protobuf v3 wire format
|
||||
func (val *SyncReplicationState) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncReplicationState from the protobuf v3 wire format
|
||||
func (val *SyncReplicationState) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncReplicationState) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncReplicationState values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncReplicationState) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncReplicationState
|
||||
switch t := that.(type) {
|
||||
case *SyncReplicationState:
|
||||
that1 = t
|
||||
case SyncReplicationState:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ReplicationState to the protobuf v3 wire format
|
||||
func (val *ReplicationState) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReplicationState from the protobuf v3 wire format
|
||||
func (val *ReplicationState) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReplicationState) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReplicationState values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReplicationState) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReplicationState
|
||||
switch t := that.(type) {
|
||||
case *ReplicationState:
|
||||
that1 = t
|
||||
case ReplicationState:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ReplicationMessages to the protobuf v3 wire format
|
||||
func (val *ReplicationMessages) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReplicationMessages from the protobuf v3 wire format
|
||||
func (val *ReplicationMessages) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReplicationMessages) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReplicationMessages values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReplicationMessages) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReplicationMessages
|
||||
switch t := that.(type) {
|
||||
case *ReplicationMessages:
|
||||
that1 = t
|
||||
case ReplicationMessages:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type WorkflowReplicationMessages to the protobuf v3 wire format
|
||||
func (val *WorkflowReplicationMessages) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type WorkflowReplicationMessages from the protobuf v3 wire format
|
||||
func (val *WorkflowReplicationMessages) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *WorkflowReplicationMessages) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two WorkflowReplicationMessages values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *WorkflowReplicationMessages) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *WorkflowReplicationMessages
|
||||
switch t := that.(type) {
|
||||
case *WorkflowReplicationMessages:
|
||||
that1 = t
|
||||
case WorkflowReplicationMessages:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type ReplicationTaskInfo to the protobuf v3 wire format
|
||||
func (val *ReplicationTaskInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type ReplicationTaskInfo from the protobuf v3 wire format
|
||||
func (val *ReplicationTaskInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *ReplicationTaskInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two ReplicationTaskInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *ReplicationTaskInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *ReplicationTaskInfo
|
||||
switch t := that.(type) {
|
||||
case *ReplicationTaskInfo:
|
||||
that1 = t
|
||||
case ReplicationTaskInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NamespaceTaskAttributes to the protobuf v3 wire format
|
||||
func (val *NamespaceTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NamespaceTaskAttributes from the protobuf v3 wire format
|
||||
func (val *NamespaceTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NamespaceTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NamespaceTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NamespaceTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NamespaceTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *NamespaceTaskAttributes:
|
||||
that1 = t
|
||||
case NamespaceTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncShardStatusTaskAttributes to the protobuf v3 wire format
|
||||
func (val *SyncShardStatusTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncShardStatusTaskAttributes from the protobuf v3 wire format
|
||||
func (val *SyncShardStatusTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncShardStatusTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncShardStatusTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncShardStatusTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncShardStatusTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncShardStatusTaskAttributes:
|
||||
that1 = t
|
||||
case SyncShardStatusTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncActivityTaskAttributes to the protobuf v3 wire format
|
||||
func (val *SyncActivityTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncActivityTaskAttributes from the protobuf v3 wire format
|
||||
func (val *SyncActivityTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncActivityTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncActivityTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncActivityTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncActivityTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncActivityTaskAttributes:
|
||||
that1 = t
|
||||
case SyncActivityTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type HistoryTaskAttributes to the protobuf v3 wire format
|
||||
func (val *HistoryTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type HistoryTaskAttributes from the protobuf v3 wire format
|
||||
func (val *HistoryTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *HistoryTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two HistoryTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *HistoryTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *HistoryTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *HistoryTaskAttributes:
|
||||
that1 = t
|
||||
case HistoryTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncWorkflowStateTaskAttributes to the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncWorkflowStateTaskAttributes from the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncWorkflowStateTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncWorkflowStateTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncWorkflowStateTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncWorkflowStateTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncWorkflowStateTaskAttributes:
|
||||
that1 = t
|
||||
case SyncWorkflowStateTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type TaskQueueUserDataAttributes to the protobuf v3 wire format
|
||||
func (val *TaskQueueUserDataAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type TaskQueueUserDataAttributes from the protobuf v3 wire format
|
||||
func (val *TaskQueueUserDataAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *TaskQueueUserDataAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two TaskQueueUserDataAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *TaskQueueUserDataAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *TaskQueueUserDataAttributes
|
||||
switch t := that.(type) {
|
||||
case *TaskQueueUserDataAttributes:
|
||||
that1 = t
|
||||
case TaskQueueUserDataAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncHSMAttributes to the protobuf v3 wire format
|
||||
func (val *SyncHSMAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncHSMAttributes from the protobuf v3 wire format
|
||||
func (val *SyncHSMAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncHSMAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncHSMAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncHSMAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncHSMAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncHSMAttributes:
|
||||
that1 = t
|
||||
case SyncHSMAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type BackfillHistoryTaskAttributes to the protobuf v3 wire format
|
||||
func (val *BackfillHistoryTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type BackfillHistoryTaskAttributes from the protobuf v3 wire format
|
||||
func (val *BackfillHistoryTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *BackfillHistoryTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two BackfillHistoryTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *BackfillHistoryTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *BackfillHistoryTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *BackfillHistoryTaskAttributes:
|
||||
that1 = t
|
||||
case BackfillHistoryTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type NewRunInfo to the protobuf v3 wire format
|
||||
func (val *NewRunInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type NewRunInfo from the protobuf v3 wire format
|
||||
func (val *NewRunInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *NewRunInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two NewRunInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *NewRunInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *NewRunInfo
|
||||
switch t := that.(type) {
|
||||
case *NewRunInfo:
|
||||
that1 = t
|
||||
case NewRunInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncWorkflowStateMutationAttributes to the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateMutationAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncWorkflowStateMutationAttributes from the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateMutationAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncWorkflowStateMutationAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncWorkflowStateMutationAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncWorkflowStateMutationAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncWorkflowStateMutationAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncWorkflowStateMutationAttributes:
|
||||
that1 = t
|
||||
case SyncWorkflowStateMutationAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncWorkflowStateSnapshotAttributes to the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateSnapshotAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncWorkflowStateSnapshotAttributes from the protobuf v3 wire format
|
||||
func (val *SyncWorkflowStateSnapshotAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncWorkflowStateSnapshotAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncWorkflowStateSnapshotAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncWorkflowStateSnapshotAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncWorkflowStateSnapshotAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncWorkflowStateSnapshotAttributes:
|
||||
that1 = t
|
||||
case SyncWorkflowStateSnapshotAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VerifyVersionedTransitionTaskAttributes to the protobuf v3 wire format
|
||||
func (val *VerifyVersionedTransitionTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VerifyVersionedTransitionTaskAttributes from the protobuf v3 wire format
|
||||
func (val *VerifyVersionedTransitionTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VerifyVersionedTransitionTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VerifyVersionedTransitionTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VerifyVersionedTransitionTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VerifyVersionedTransitionTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *VerifyVersionedTransitionTaskAttributes:
|
||||
that1 = t
|
||||
case VerifyVersionedTransitionTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type SyncVersionedTransitionTaskAttributes to the protobuf v3 wire format
|
||||
func (val *SyncVersionedTransitionTaskAttributes) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type SyncVersionedTransitionTaskAttributes from the protobuf v3 wire format
|
||||
func (val *SyncVersionedTransitionTaskAttributes) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *SyncVersionedTransitionTaskAttributes) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two SyncVersionedTransitionTaskAttributes values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *SyncVersionedTransitionTaskAttributes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *SyncVersionedTransitionTaskAttributes
|
||||
switch t := that.(type) {
|
||||
case *SyncVersionedTransitionTaskAttributes:
|
||||
that1 = t
|
||||
case SyncVersionedTransitionTaskAttributes:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type VersionedTransitionArtifact to the protobuf v3 wire format
|
||||
func (val *VersionedTransitionArtifact) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type VersionedTransitionArtifact from the protobuf v3 wire format
|
||||
func (val *VersionedTransitionArtifact) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *VersionedTransitionArtifact) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two VersionedTransitionArtifact values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *VersionedTransitionArtifact) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *VersionedTransitionArtifact
|
||||
switch t := that.(type) {
|
||||
case *VersionedTransitionArtifact:
|
||||
that1 = t
|
||||
case VersionedTransitionArtifact:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
|
||||
// Marshal an object of type MigrationExecutionInfo to the protobuf v3 wire format
|
||||
func (val *MigrationExecutionInfo) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type MigrationExecutionInfo from the protobuf v3 wire format
|
||||
func (val *MigrationExecutionInfo) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *MigrationExecutionInfo) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two MigrationExecutionInfo values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *MigrationExecutionInfo) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *MigrationExecutionInfo
|
||||
switch t := that.(type) {
|
||||
case *MigrationExecutionInfo:
|
||||
that1 = t
|
||||
case MigrationExecutionInfo:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,43 +0,0 @@
|
||||
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
||||
package routing
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// Marshal an object of type RoutingOptions to the protobuf v3 wire format
|
||||
func (val *RoutingOptions) Marshal() ([]byte, error) {
|
||||
return proto.Marshal(val)
|
||||
}
|
||||
|
||||
// Unmarshal an object of type RoutingOptions from the protobuf v3 wire format
|
||||
func (val *RoutingOptions) Unmarshal(buf []byte) error {
|
||||
return proto.Unmarshal(buf, val)
|
||||
}
|
||||
|
||||
// Size returns the size of the object, in bytes, once serialized
|
||||
func (val *RoutingOptions) Size() int {
|
||||
return proto.Size(val)
|
||||
}
|
||||
|
||||
// Equal returns whether two RoutingOptions values are equivalent by recursively
|
||||
// comparing the message's fields.
|
||||
// For more information see the documentation for
|
||||
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
||||
func (this *RoutingOptions) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
return this == nil
|
||||
}
|
||||
|
||||
var that1 *RoutingOptions
|
||||
switch t := that.(type) {
|
||||
case *RoutingOptions:
|
||||
that1 = t
|
||||
case RoutingOptions:
|
||||
that1 = &t
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.Equal(this, that1)
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user