diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c48c5445..f0610fab 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -104,6 +104,15 @@ jobs:
TEMPORAL_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }}
run: dotnet run --project tests/Temporalio.Tests -- -verbose -method "*.ExecuteWorkflowAsync_Simple_Succeeds"
+ - name: Test cloud operations client
+ # Only supported in non-fork runs, since secrets are not available in forks
+ if: ${{ matrix.cloudTestTarget && (github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-dotnet') }}
+ env:
+ TEMPORAL_CLIENT_CLOUD_NAMESPACE: sdk-ci.a2dd6
+ TEMPORAL_CLIENT_CLOUD_API_KEY: ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }}
+ TEMPORAL_CLIENT_CLOUD_API_VERSION: 2024-05-13-00
+ run: dotnet run --project tests/Temporalio.Tests -- -verbose -method "*.TemporalCloudOperationsClientTests.*"
+
- name: Build docs
if: ${{ matrix.docsTarget }}
run: |
diff --git a/src/Temporalio.Api.Generator/Program.cs b/src/Temporalio.Api.Generator/Program.cs
index 199304e7..b98f7719 100644
--- a/src/Temporalio.Api.Generator/Program.cs
+++ b/src/Temporalio.Api.Generator/Program.cs
@@ -6,6 +6,7 @@
var projectDir = Path.GetFullPath(Path.Join(currFile, "../../../"));
var protoDir = Path.Join(projectDir, "src/Temporalio/Bridge/sdk-core/sdk-core-protos/protos");
var apiProtoDir = Path.Join(protoDir, "api_upstream");
+var apiCloudProtoDir = Path.Join(protoDir, "api_cloud_upstream");
var testSrvProtoDir = Path.Join(protoDir, "testsrv_upstream");
var bridgeProtoDir = Path.Join(protoDir, "local");
@@ -44,6 +45,10 @@
Protoc(fi.FullName, Path.Join(projectDir, "src/Temporalio"), "Temporalio", apiProtoDir);
}
}
+foreach (var fi in new DirectoryInfo(apiCloudProtoDir).GetFiles("*.proto", SearchOption.AllDirectories))
+{
+ Protoc(fi.FullName, Path.Join(projectDir, "src/Temporalio"), "Temporalio", apiCloudProtoDir, apiProtoDir);
+}
foreach (
var fi in new DirectoryInfo(testSrvProtoDir).GetFiles("*.proto", SearchOption.AllDirectories))
{
@@ -94,6 +99,13 @@
"Temporalio.Client",
"OperatorService",
"Temporalio.Api.OperatorService.V1"));
+File.WriteAllText(
+ Path.Join(projectDir, "src/Temporalio/Client/CloudService.Rpc.cs"),
+ GenerateServiceRPCSource(
+ Path.Join(apiCloudProtoDir, "temporal/api/cloud/cloudservice/v1/service.proto"),
+ "Temporalio.Client",
+ "CloudService",
+ "Temporalio.Api.Cloud.CloudService.V1"));
File.WriteAllText(
Path.Join(projectDir, "src/Temporalio/Client/TestService.Rpc.cs"),
GenerateServiceRPCSource(
diff --git a/src/Temporalio/Api/Cloud/CloudService/V1/RequestResponse.cs b/src/Temporalio/Api/Cloud/CloudService/V1/RequestResponse.cs
new file mode 100644
index 00000000..e242b7e8
--- /dev/null
+++ b/src/Temporalio/Api/Cloud/CloudService/V1/RequestResponse.cs
@@ -0,0 +1,16022 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: temporal/api/cloud/cloudservice/v1/request_response.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Temporalio.Api.Cloud.CloudService.V1 {
+
+ /// Holder for reflection information generated from temporal/api/cloud/cloudservice/v1/request_response.proto
+ public static partial class RequestResponseReflection {
+
+ #region Descriptor
+ /// File descriptor for temporal/api/cloud/cloudservice/v1/request_response.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static RequestResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cjl0ZW1wb3JhbC9hcGkvY2xvdWQvY2xvdWRzZXJ2aWNlL3YxL3JlcXVlc3Rf",
+ "cmVzcG9uc2UucHJvdG8SInRlbXBvcmFsLmFwaS5jbG91ZC5jbG91ZHNlcnZp",
+ "Y2UudjEaLXRlbXBvcmFsL2FwaS9jbG91ZC9vcGVyYXRpb24vdjEvbWVzc2Fn",
+ "ZS5wcm90bxosdGVtcG9yYWwvYXBpL2Nsb3VkL2lkZW50aXR5L3YxL21lc3Nh",
+ "Z2UucHJvdG8aLXRlbXBvcmFsL2FwaS9jbG91ZC9uYW1lc3BhY2UvdjEvbWVz",
+ "c2FnZS5wcm90bxoqdGVtcG9yYWwvYXBpL2Nsb3VkL3JlZ2lvbi92MS9tZXNz",
+ "YWdlLnByb3RvIloKD0dldFVzZXJzUmVxdWVzdBIRCglwYWdlX3NpemUYASAB",
+ "KAUSEgoKcGFnZV90b2tlbhgCIAEoCRINCgVlbWFpbBgDIAEoCRIRCgluYW1l",
+ "c3BhY2UYBCABKAkiYAoQR2V0VXNlcnNSZXNwb25zZRIzCgV1c2VycxgBIAMo",
+ "CzIkLnRlbXBvcmFsLmFwaS5jbG91ZC5pZGVudGl0eS52MS5Vc2VyEhcKD25l",
+ "eHRfcGFnZV90b2tlbhgCIAEoCSIhCg5HZXRVc2VyUmVxdWVzdBIPCgd1c2Vy",
+ "X2lkGAEgASgJIkUKD0dldFVzZXJSZXNwb25zZRIyCgR1c2VyGAEgASgLMiQu",
+ "dGVtcG9yYWwuYXBpLmNsb3VkLmlkZW50aXR5LnYxLlVzZXIiZwoRQ3JlYXRl",
+ "VXNlclJlcXVlc3QSNgoEc3BlYxgBIAEoCzIoLnRlbXBvcmFsLmFwaS5jbG91",
+ "ZC5pZGVudGl0eS52MS5Vc2VyU3BlYxIaChJhc3luY19vcGVyYXRpb25faWQY",
+ "AiABKAkibwoSQ3JlYXRlVXNlclJlc3BvbnNlEg8KB3VzZXJfaWQYASABKAkS",
+ "SAoPYXN5bmNfb3BlcmF0aW9uGAIgASgLMi8udGVtcG9yYWwuYXBpLmNsb3Vk",
+ "Lm9wZXJhdGlvbi52MS5Bc3luY09wZXJhdGlvbiKSAQoRVXBkYXRlVXNlclJl",
+ "cXVlc3QSDwoHdXNlcl9pZBgBIAEoCRI2CgRzcGVjGAIgASgLMigudGVtcG9y",
+ "YWwuYXBpLmNsb3VkLmlkZW50aXR5LnYxLlVzZXJTcGVjEhgKEHJlc291cmNl",
+ "X3ZlcnNpb24YAyABKAkSGgoSYXN5bmNfb3BlcmF0aW9uX2lkGAQgASgJIl4K",
+ "ElVwZGF0ZVVzZXJSZXNwb25zZRJICg9hc3luY19vcGVyYXRpb24YASABKAsy",
+ "Ly50ZW1wb3JhbC5hcGkuY2xvdWQub3BlcmF0aW9uLnYxLkFzeW5jT3BlcmF0",
+ "aW9uIloKEURlbGV0ZVVzZXJSZXF1ZXN0Eg8KB3VzZXJfaWQYASABKAkSGAoQ",
+ "cmVzb3VyY2VfdmVyc2lvbhgCIAEoCRIaChJhc3luY19vcGVyYXRpb25faWQY",
+ "AyABKAkiXgoSRGVsZXRlVXNlclJlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlv",
+ "bhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5",
+ "bmNPcGVyYXRpb24iugEKHVNldFVzZXJOYW1lc3BhY2VBY2Nlc3NSZXF1ZXN0",
+ "EhEKCW5hbWVzcGFjZRgBIAEoCRIPCgd1c2VyX2lkGAIgASgJEj8KBmFjY2Vz",
+ "cxgDIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5pZGVudGl0eS52MS5OYW1l",
+ "c3BhY2VBY2Nlc3MSGAoQcmVzb3VyY2VfdmVyc2lvbhgEIAEoCRIaChJhc3lu",
+ "Y19vcGVyYXRpb25faWQYBSABKAkiagoeU2V0VXNlck5hbWVzcGFjZUFjY2Vz",
+ "c1Jlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFs",
+ "LmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24iNgoYR2V0",
+ "QXN5bmNPcGVyYXRpb25SZXF1ZXN0EhoKEmFzeW5jX29wZXJhdGlvbl9pZBgB",
+ "IAEoCSJlChlHZXRBc3luY09wZXJhdGlvblJlc3BvbnNlEkgKD2FzeW5jX29w",
+ "ZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5vcGVyYXRpb24u",
+ "djEuQXN5bmNPcGVyYXRpb24icgoWQ3JlYXRlTmFtZXNwYWNlUmVxdWVzdBI8",
+ "CgRzcGVjGAIgASgLMi4udGVtcG9yYWwuYXBpLmNsb3VkLm5hbWVzcGFjZS52",
+ "MS5OYW1lc3BhY2VTcGVjEhoKEmFzeW5jX29wZXJhdGlvbl9pZBgDIAEoCSJ2",
+ "ChdDcmVhdGVOYW1lc3BhY2VSZXNwb25zZRIRCgluYW1lc3BhY2UYASABKAkS",
+ "SAoPYXN5bmNfb3BlcmF0aW9uGAIgASgLMi8udGVtcG9yYWwuYXBpLmNsb3Vk",
+ "Lm9wZXJhdGlvbi52MS5Bc3luY09wZXJhdGlvbiJLChRHZXROYW1lc3BhY2Vz",
+ "UmVxdWVzdBIRCglwYWdlX3NpemUYASABKAUSEgoKcGFnZV90b2tlbhgCIAEo",
+ "CRIMCgRuYW1lGAMgASgJInAKFUdldE5hbWVzcGFjZXNSZXNwb25zZRI+Cgpu",
+ "YW1lc3BhY2VzGAEgAygLMioudGVtcG9yYWwuYXBpLmNsb3VkLm5hbWVzcGFj",
+ "ZS52MS5OYW1lc3BhY2USFwoPbmV4dF9wYWdlX3Rva2VuGAIgASgJIigKE0dl",
+ "dE5hbWVzcGFjZVJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJIlUKFEdldE5h",
+ "bWVzcGFjZVJlc3BvbnNlEj0KCW5hbWVzcGFjZRgBIAEoCzIqLnRlbXBvcmFs",
+ "LmFwaS5jbG91ZC5uYW1lc3BhY2UudjEuTmFtZXNwYWNlIp8BChZVcGRhdGVO",
+ "YW1lc3BhY2VSZXF1ZXN0EhEKCW5hbWVzcGFjZRgBIAEoCRI8CgRzcGVjGAIg",
+ "ASgLMi4udGVtcG9yYWwuYXBpLmNsb3VkLm5hbWVzcGFjZS52MS5OYW1lc3Bh",
+ "Y2VTcGVjEhgKEHJlc291cmNlX3ZlcnNpb24YAyABKAkSGgoSYXN5bmNfb3Bl",
+ "cmF0aW9uX2lkGAQgASgJImMKF1VwZGF0ZU5hbWVzcGFjZVJlc3BvbnNlEkgK",
+ "D2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5v",
+ "cGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24ixgEKIlJlbmFtZUN1c3RvbVNl",
+ "YXJjaEF0dHJpYnV0ZVJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEi0KJWV4",
+ "aXN0aW5nX2N1c3RvbV9zZWFyY2hfYXR0cmlidXRlX25hbWUYAiABKAkSKAog",
+ "bmV3X2N1c3RvbV9zZWFyY2hfYXR0cmlidXRlX25hbWUYAyABKAkSGAoQcmVz",
+ "b3VyY2VfdmVyc2lvbhgEIAEoCRIaChJhc3luY19vcGVyYXRpb25faWQYBSAB",
+ "KAkibwojUmVuYW1lQ3VzdG9tU2VhcmNoQXR0cmlidXRlUmVzcG9uc2USSAoP",
+ "YXN5bmNfb3BlcmF0aW9uGAEgASgLMi8udGVtcG9yYWwuYXBpLmNsb3VkLm9w",
+ "ZXJhdGlvbi52MS5Bc3luY09wZXJhdGlvbiJhChZEZWxldGVOYW1lc3BhY2VS",
+ "ZXF1ZXN0EhEKCW5hbWVzcGFjZRgBIAEoCRIYChByZXNvdXJjZV92ZXJzaW9u",
+ "GAIgASgJEhoKEmFzeW5jX29wZXJhdGlvbl9pZBgDIAEoCSJjChdEZWxldGVO",
+ "YW1lc3BhY2VSZXNwb25zZRJICg9hc3luY19vcGVyYXRpb24YASABKAsyLy50",
+ "ZW1wb3JhbC5hcGkuY2xvdWQub3BlcmF0aW9uLnYxLkFzeW5jT3BlcmF0aW9u",
+ "Il8KHkZhaWxvdmVyTmFtZXNwYWNlUmVnaW9uUmVxdWVzdBIRCgluYW1lc3Bh",
+ "Y2UYASABKAkSDgoGcmVnaW9uGAIgASgJEhoKEmFzeW5jX29wZXJhdGlvbl9p",
+ "ZBgDIAEoCSJrCh9GYWlsb3Zlck5hbWVzcGFjZVJlZ2lvblJlc3BvbnNlEkgK",
+ "D2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5v",
+ "cGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24idAoZQWRkTmFtZXNwYWNlUmVn",
+ "aW9uUmVxdWVzdBIRCgluYW1lc3BhY2UYASABKAkSDgoGcmVnaW9uGAIgASgJ",
+ "EhgKEHJlc291cmNlX3ZlcnNpb24YAyABKAkSGgoSYXN5bmNfb3BlcmF0aW9u",
+ "X2lkGAQgASgJImYKGkFkZE5hbWVzcGFjZVJlZ2lvblJlc3BvbnNlEkgKD2Fz",
+ "eW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5jbG91ZC5vcGVy",
+ "YXRpb24udjEuQXN5bmNPcGVyYXRpb24iEwoRR2V0UmVnaW9uc1JlcXVlc3Qi",
+ "SwoSR2V0UmVnaW9uc1Jlc3BvbnNlEjUKB3JlZ2lvbnMYASADKAsyJC50ZW1w",
+ "b3JhbC5hcGkuY2xvdWQucmVnaW9uLnYxLlJlZ2lvbiIiChBHZXRSZWdpb25S",
+ "ZXF1ZXN0Eg4KBnJlZ2lvbhgBIAEoCSJJChFHZXRSZWdpb25SZXNwb25zZRI0",
+ "CgZyZWdpb24YASABKAsyJC50ZW1wb3JhbC5hcGkuY2xvdWQucmVnaW9uLnYx",
+ "LlJlZ2lvbiJgChFHZXRBcGlLZXlzUmVxdWVzdBIRCglwYWdlX3NpemUYASAB",
+ "KAUSEgoKcGFnZV90b2tlbhgCIAEoCRIQCghvd25lcl9pZBgDIAEoCRISCgpv",
+ "d25lcl90eXBlGAQgASgJImcKEkdldEFwaUtleXNSZXNwb25zZRI4CghhcGlf",
+ "a2V5cxgBIAMoCzImLnRlbXBvcmFsLmFwaS5jbG91ZC5pZGVudGl0eS52MS5B",
+ "cGlLZXkSFwoPbmV4dF9wYWdlX3Rva2VuGAIgASgJIiIKEEdldEFwaUtleVJl",
+ "cXVlc3QSDgoGa2V5X2lkGAEgASgJIkwKEUdldEFwaUtleVJlc3BvbnNlEjcK",
+ "B2FwaV9rZXkYASABKAsyJi50ZW1wb3JhbC5hcGkuY2xvdWQuaWRlbnRpdHku",
+ "djEuQXBpS2V5ImsKE0NyZWF0ZUFwaUtleVJlcXVlc3QSOAoEc3BlYxgBIAEo",
+ "CzIqLnRlbXBvcmFsLmFwaS5jbG91ZC5pZGVudGl0eS52MS5BcGlLZXlTcGVj",
+ "EhoKEmFzeW5jX29wZXJhdGlvbl9pZBgCIAEoCSJ/ChRDcmVhdGVBcGlLZXlS",
+ "ZXNwb25zZRIOCgZrZXlfaWQYASABKAkSDQoFdG9rZW4YAiABKAkSSAoPYXN5",
+ "bmNfb3BlcmF0aW9uGAMgASgLMi8udGVtcG9yYWwuYXBpLmNsb3VkLm9wZXJh",
+ "dGlvbi52MS5Bc3luY09wZXJhdGlvbiKVAQoTVXBkYXRlQXBpS2V5UmVxdWVz",
+ "dBIOCgZrZXlfaWQYASABKAkSOAoEc3BlYxgCIAEoCzIqLnRlbXBvcmFsLmFw",
+ "aS5jbG91ZC5pZGVudGl0eS52MS5BcGlLZXlTcGVjEhgKEHJlc291cmNlX3Zl",
+ "cnNpb24YAyABKAkSGgoSYXN5bmNfb3BlcmF0aW9uX2lkGAQgASgJImAKFFVw",
+ "ZGF0ZUFwaUtleVJlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIv",
+ "LnRlbXBvcmFsLmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRp",
+ "b24iWwoTRGVsZXRlQXBpS2V5UmVxdWVzdBIOCgZrZXlfaWQYASABKAkSGAoQ",
+ "cmVzb3VyY2VfdmVyc2lvbhgCIAEoCRIaChJhc3luY19vcGVyYXRpb25faWQY",
+ "AyABKAkiYAoURGVsZXRlQXBpS2V5UmVzcG9uc2USSAoPYXN5bmNfb3BlcmF0",
+ "aW9uGAEgASgLMi8udGVtcG9yYWwuYXBpLmNsb3VkLm9wZXJhdGlvbi52MS5B",
+ "c3luY09wZXJhdGlvbiJkChRHZXRVc2VyR3JvdXBzUmVxdWVzdBIRCglwYWdl",
+ "X3NpemUYASABKAUSEgoKcGFnZV90b2tlbhgCIAEoCRIRCgluYW1lc3BhY2UY",
+ "AyABKAkSEgoKZ3JvdXBfbmFtZRgEIAEoCSJrChVHZXRVc2VyR3JvdXBzUmVz",
+ "cG9uc2USOQoGZ3JvdXBzGAEgAygLMikudGVtcG9yYWwuYXBpLmNsb3VkLmlk",
+ "ZW50aXR5LnYxLlVzZXJHcm91cBIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAki",
+ "JwoTR2V0VXNlckdyb3VwUmVxdWVzdBIQCghncm91cF9pZBgBIAEoCSJQChRH",
+ "ZXRVc2VyR3JvdXBSZXNwb25zZRI4CgVncm91cBgBIAEoCzIpLnRlbXBvcmFs",
+ "LmFwaS5jbG91ZC5pZGVudGl0eS52MS5Vc2VyR3JvdXAicQoWQ3JlYXRlVXNl",
+ "ckdyb3VwUmVxdWVzdBI7CgRzcGVjGAEgASgLMi0udGVtcG9yYWwuYXBpLmNs",
+ "b3VkLmlkZW50aXR5LnYxLlVzZXJHcm91cFNwZWMSGgoSYXN5bmNfb3BlcmF0",
+ "aW9uX2lkGAIgASgJInUKF0NyZWF0ZVVzZXJHcm91cFJlc3BvbnNlEhAKCGdy",
+ "b3VwX2lkGAEgASgJEkgKD2FzeW5jX29wZXJhdGlvbhgCIAEoCzIvLnRlbXBv",
+ "cmFsLmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24inQEK",
+ "FlVwZGF0ZVVzZXJHcm91cFJlcXVlc3QSEAoIZ3JvdXBfaWQYASABKAkSOwoE",
+ "c3BlYxgCIAEoCzItLnRlbXBvcmFsLmFwaS5jbG91ZC5pZGVudGl0eS52MS5V",
+ "c2VyR3JvdXBTcGVjEhgKEHJlc291cmNlX3ZlcnNpb24YAyABKAkSGgoSYXN5",
+ "bmNfb3BlcmF0aW9uX2lkGAQgASgJImMKF1VwZGF0ZVVzZXJHcm91cFJlc3Bv",
+ "bnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFsLmFwaS5j",
+ "bG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24iYAoWRGVsZXRlVXNl",
+ "ckdyb3VwUmVxdWVzdBIQCghncm91cF9pZBgBIAEoCRIYChByZXNvdXJjZV92",
+ "ZXJzaW9uGAIgASgJEhoKEmFzeW5jX29wZXJhdGlvbl9pZBgDIAEoCSJjChdE",
+ "ZWxldGVVc2VyR3JvdXBSZXNwb25zZRJICg9hc3luY19vcGVyYXRpb24YASAB",
+ "KAsyLy50ZW1wb3JhbC5hcGkuY2xvdWQub3BlcmF0aW9uLnYxLkFzeW5jT3Bl",
+ "cmF0aW9uIsABCiJTZXRVc2VyR3JvdXBOYW1lc3BhY2VBY2Nlc3NSZXF1ZXN0",
+ "EhEKCW5hbWVzcGFjZRgBIAEoCRIQCghncm91cF9pZBgCIAEoCRI/CgZhY2Nl",
+ "c3MYAyABKAsyLy50ZW1wb3JhbC5hcGkuY2xvdWQuaWRlbnRpdHkudjEuTmFt",
+ "ZXNwYWNlQWNjZXNzEhgKEHJlc291cmNlX3ZlcnNpb24YBCABKAkSGgoSYXN5",
+ "bmNfb3BlcmF0aW9uX2lkGAUgASgJIm8KI1NldFVzZXJHcm91cE5hbWVzcGFj",
+ "ZUFjY2Vzc1Jlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRl",
+ "bXBvcmFsLmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24i",
+ "ewobQ3JlYXRlU2VydmljZUFjY291bnRSZXF1ZXN0EkAKBHNwZWMYASABKAsy",
+ "Mi50ZW1wb3JhbC5hcGkuY2xvdWQuaWRlbnRpdHkudjEuU2VydmljZUFjY291",
+ "bnRTcGVjEhoKEmFzeW5jX29wZXJhdGlvbl9pZBgCIAEoCSKEAQocQ3JlYXRl",
+ "U2VydmljZUFjY291bnRSZXNwb25zZRIaChJzZXJ2aWNlX2FjY291bnRfaWQY",
+ "ASABKAkSSAoPYXN5bmNfb3BlcmF0aW9uGAIgASgLMi8udGVtcG9yYWwuYXBp",
+ "LmNsb3VkLm9wZXJhdGlvbi52MS5Bc3luY09wZXJhdGlvbiI2ChhHZXRTZXJ2",
+ "aWNlQWNjb3VudFJlcXVlc3QSGgoSc2VydmljZV9hY2NvdW50X2lkGAEgASgJ",
+ "ImQKGUdldFNlcnZpY2VBY2NvdW50UmVzcG9uc2USRwoPc2VydmljZV9hY2Nv",
+ "dW50GAEgASgLMi4udGVtcG9yYWwuYXBpLmNsb3VkLmlkZW50aXR5LnYxLlNl",
+ "cnZpY2VBY2NvdW50IkIKGUdldFNlcnZpY2VBY2NvdW50c1JlcXVlc3QSEQoJ",
+ "cGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkifgoaR2V0U2Vy",
+ "dmljZUFjY291bnRzUmVzcG9uc2USRwoPc2VydmljZV9hY2NvdW50GAEgAygL",
+ "Mi4udGVtcG9yYWwuYXBpLmNsb3VkLmlkZW50aXR5LnYxLlNlcnZpY2VBY2Nv",
+ "dW50EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSKxAQobVXBkYXRlU2Vydmlj",
+ "ZUFjY291bnRSZXF1ZXN0EhoKEnNlcnZpY2VfYWNjb3VudF9pZBgBIAEoCRJA",
+ "CgRzcGVjGAIgASgLMjIudGVtcG9yYWwuYXBpLmNsb3VkLmlkZW50aXR5LnYx",
+ "LlNlcnZpY2VBY2NvdW50U3BlYxIYChByZXNvdXJjZV92ZXJzaW9uGAMgASgJ",
+ "EhoKEmFzeW5jX29wZXJhdGlvbl9pZBgEIAEoCSJoChxVcGRhdGVTZXJ2aWNl",
+ "QWNjb3VudFJlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRl",
+ "bXBvcmFsLmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb24i",
+ "bwobRGVsZXRlU2VydmljZUFjY291bnRSZXF1ZXN0EhoKEnNlcnZpY2VfYWNj",
+ "b3VudF9pZBgBIAEoCRIYChByZXNvdXJjZV92ZXJzaW9uGAIgASgJEhoKEmFz",
+ "eW5jX29wZXJhdGlvbl9pZBgDIAEoCSJoChxEZWxldGVTZXJ2aWNlQWNjb3Vu",
+ "dFJlc3BvbnNlEkgKD2FzeW5jX29wZXJhdGlvbhgBIAEoCzIvLnRlbXBvcmFs",
+ "LmFwaS5jbG91ZC5vcGVyYXRpb24udjEuQXN5bmNPcGVyYXRpb25CyAEKJWlv",
+ "LnRlbXBvcmFsLmFwaS5jbG91ZC5jbG91ZHNlcnZpY2UudjFCFFJlcXVlc3RS",
+ "ZXNwb25zZVByb3RvUAFaNWdvLnRlbXBvcmFsLmlvL2FwaS9jbG91ZC9jbG91",
+ "ZHNlcnZpY2UvdjE7Y2xvdWRzZXJ2aWNlqgIkVGVtcG9yYWxpby5BcGkuQ2xv",
+ "dWQuQ2xvdWRTZXJ2aWNlLlYx6gIoVGVtcG9yYWxpbzo6QXBpOjpDbG91ZDo6",
+ "Q2xvdWRTZXJ2aWNlOjpWMWIGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Temporalio.Api.Cloud.Operation.V1.MessageReflection.Descriptor, global::Temporalio.Api.Cloud.Identity.V1.MessageReflection.Descriptor, global::Temporalio.Api.Cloud.Namespace.V1.MessageReflection.Descriptor, global::Temporalio.Api.Cloud.Region.V1.MessageReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUsersRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetUsersRequest.Parser, new[]{ "PageSize", "PageToken", "Email", "Namespace" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUsersResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetUsersResponse.Parser, new[]{ "Users", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetUserRequest.Parser, new[]{ "UserId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetUserResponse.Parser, new[]{ "User" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateUserRequest), global::Temporalio.Api.Cloud.CloudService.V1.CreateUserRequest.Parser, new[]{ "Spec", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateUserResponse), global::Temporalio.Api.Cloud.CloudService.V1.CreateUserResponse.Parser, new[]{ "UserId", "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserRequest), global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserRequest.Parser, new[]{ "UserId", "Spec", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserResponse), global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserRequest), global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserRequest.Parser, new[]{ "UserId", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserResponse), global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.SetUserNamespaceAccessRequest), global::Temporalio.Api.Cloud.CloudService.V1.SetUserNamespaceAccessRequest.Parser, new[]{ "Namespace", "UserId", "Access", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.SetUserNamespaceAccessResponse), global::Temporalio.Api.Cloud.CloudService.V1.SetUserNamespaceAccessResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetAsyncOperationRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetAsyncOperationRequest.Parser, new[]{ "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetAsyncOperationResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetAsyncOperationResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateNamespaceRequest), global::Temporalio.Api.Cloud.CloudService.V1.CreateNamespaceRequest.Parser, new[]{ "Spec", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateNamespaceResponse), global::Temporalio.Api.Cloud.CloudService.V1.CreateNamespaceResponse.Parser, new[]{ "Namespace", "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetNamespacesRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetNamespacesRequest.Parser, new[]{ "PageSize", "PageToken", "Name" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetNamespacesResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetNamespacesResponse.Parser, new[]{ "Namespaces", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetNamespaceRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetNamespaceRequest.Parser, new[]{ "Namespace" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetNamespaceResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetNamespaceResponse.Parser, new[]{ "Namespace" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateNamespaceRequest), global::Temporalio.Api.Cloud.CloudService.V1.UpdateNamespaceRequest.Parser, new[]{ "Namespace", "Spec", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateNamespaceResponse), global::Temporalio.Api.Cloud.CloudService.V1.UpdateNamespaceResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.RenameCustomSearchAttributeRequest), global::Temporalio.Api.Cloud.CloudService.V1.RenameCustomSearchAttributeRequest.Parser, new[]{ "Namespace", "ExistingCustomSearchAttributeName", "NewCustomSearchAttributeName", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.RenameCustomSearchAttributeResponse), global::Temporalio.Api.Cloud.CloudService.V1.RenameCustomSearchAttributeResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteNamespaceRequest), global::Temporalio.Api.Cloud.CloudService.V1.DeleteNamespaceRequest.Parser, new[]{ "Namespace", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteNamespaceResponse), global::Temporalio.Api.Cloud.CloudService.V1.DeleteNamespaceResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.FailoverNamespaceRegionRequest), global::Temporalio.Api.Cloud.CloudService.V1.FailoverNamespaceRegionRequest.Parser, new[]{ "Namespace", "Region", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.FailoverNamespaceRegionResponse), global::Temporalio.Api.Cloud.CloudService.V1.FailoverNamespaceRegionResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.AddNamespaceRegionRequest), global::Temporalio.Api.Cloud.CloudService.V1.AddNamespaceRegionRequest.Parser, new[]{ "Namespace", "Region", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.AddNamespaceRegionResponse), global::Temporalio.Api.Cloud.CloudService.V1.AddNamespaceRegionResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetRegionsRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetRegionsRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetRegionsResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetRegionsResponse.Parser, new[]{ "Regions" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetRegionRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetRegionRequest.Parser, new[]{ "Region" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetRegionResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetRegionResponse.Parser, new[]{ "Region" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeysRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeysRequest.Parser, new[]{ "PageSize", "PageToken", "OwnerId", "OwnerType" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeysResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeysResponse.Parser, new[]{ "ApiKeys", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeyRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeyRequest.Parser, new[]{ "KeyId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeyResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetApiKeyResponse.Parser, new[]{ "ApiKey" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateApiKeyRequest), global::Temporalio.Api.Cloud.CloudService.V1.CreateApiKeyRequest.Parser, new[]{ "Spec", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateApiKeyResponse), global::Temporalio.Api.Cloud.CloudService.V1.CreateApiKeyResponse.Parser, new[]{ "KeyId", "Token", "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateApiKeyRequest), global::Temporalio.Api.Cloud.CloudService.V1.UpdateApiKeyRequest.Parser, new[]{ "KeyId", "Spec", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateApiKeyResponse), global::Temporalio.Api.Cloud.CloudService.V1.UpdateApiKeyResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteApiKeyRequest), global::Temporalio.Api.Cloud.CloudService.V1.DeleteApiKeyRequest.Parser, new[]{ "KeyId", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteApiKeyResponse), global::Temporalio.Api.Cloud.CloudService.V1.DeleteApiKeyResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupsRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupsRequest.Parser, new[]{ "PageSize", "PageToken", "Namespace", "GroupName" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupsResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupsResponse.Parser, new[]{ "Groups", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupRequest.Parser, new[]{ "GroupId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetUserGroupResponse.Parser, new[]{ "Group" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateUserGroupRequest), global::Temporalio.Api.Cloud.CloudService.V1.CreateUserGroupRequest.Parser, new[]{ "Spec", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateUserGroupResponse), global::Temporalio.Api.Cloud.CloudService.V1.CreateUserGroupResponse.Parser, new[]{ "GroupId", "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserGroupRequest), global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserGroupRequest.Parser, new[]{ "GroupId", "Spec", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserGroupResponse), global::Temporalio.Api.Cloud.CloudService.V1.UpdateUserGroupResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserGroupRequest), global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserGroupRequest.Parser, new[]{ "GroupId", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserGroupResponse), global::Temporalio.Api.Cloud.CloudService.V1.DeleteUserGroupResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.SetUserGroupNamespaceAccessRequest), global::Temporalio.Api.Cloud.CloudService.V1.SetUserGroupNamespaceAccessRequest.Parser, new[]{ "Namespace", "GroupId", "Access", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.SetUserGroupNamespaceAccessResponse), global::Temporalio.Api.Cloud.CloudService.V1.SetUserGroupNamespaceAccessResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateServiceAccountRequest), global::Temporalio.Api.Cloud.CloudService.V1.CreateServiceAccountRequest.Parser, new[]{ "Spec", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.CreateServiceAccountResponse), global::Temporalio.Api.Cloud.CloudService.V1.CreateServiceAccountResponse.Parser, new[]{ "ServiceAccountId", "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountRequest.Parser, new[]{ "ServiceAccountId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountResponse.Parser, new[]{ "ServiceAccount" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountsRequest), global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountsRequest.Parser, new[]{ "PageSize", "PageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountsResponse), global::Temporalio.Api.Cloud.CloudService.V1.GetServiceAccountsResponse.Parser, new[]{ "ServiceAccount", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateServiceAccountRequest), global::Temporalio.Api.Cloud.CloudService.V1.UpdateServiceAccountRequest.Parser, new[]{ "ServiceAccountId", "Spec", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.UpdateServiceAccountResponse), global::Temporalio.Api.Cloud.CloudService.V1.UpdateServiceAccountResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteServiceAccountRequest), global::Temporalio.Api.Cloud.CloudService.V1.DeleteServiceAccountRequest.Parser, new[]{ "ServiceAccountId", "ResourceVersion", "AsyncOperationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Temporalio.Api.Cloud.CloudService.V1.DeleteServiceAccountResponse), global::Temporalio.Api.Cloud.CloudService.V1.DeleteServiceAccountResponse.Parser, new[]{ "AsyncOperation" }, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class GetUsersRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUsersRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersRequest(GetUsersRequest other) : this() {
+ pageSize_ = other.pageSize_;
+ pageToken_ = other.pageToken_;
+ email_ = other.email_;
+ namespace_ = other.namespace_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersRequest Clone() {
+ return new GetUsersRequest(this);
+ }
+
+ /// Field number for the "page_size" field.
+ public const int PageSizeFieldNumber = 1;
+ private int pageSize_;
+ ///
+ /// The requested size of the page to retrieve - optional.
+ /// Cannot exceed 1000. Defaults to 100.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int PageSize {
+ get { return pageSize_; }
+ set {
+ pageSize_ = value;
+ }
+ }
+
+ /// Field number for the "page_token" field.
+ public const int PageTokenFieldNumber = 2;
+ private string pageToken_ = "";
+ ///
+ /// The page token if this is continuing from another response - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PageToken {
+ get { return pageToken_; }
+ set {
+ pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "email" field.
+ public const int EmailFieldNumber = 3;
+ private string email_ = "";
+ ///
+ /// Filter users by email address - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Email {
+ get { return email_; }
+ set {
+ email_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 4;
+ private string namespace_ = "";
+ ///
+ /// Filter users by the namespace they have access to - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUsersRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUsersRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (PageSize != other.PageSize) return false;
+ if (PageToken != other.PageToken) return false;
+ if (Email != other.Email) return false;
+ if (Namespace != other.Namespace) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (PageSize != 0) hash ^= PageSize.GetHashCode();
+ if (PageToken.Length != 0) hash ^= PageToken.GetHashCode();
+ if (Email.Length != 0) hash ^= Email.GetHashCode();
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Email.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Email);
+ }
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Email.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Email);
+ }
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (PageSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken);
+ }
+ if (Email.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Email);
+ }
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUsersRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.PageSize != 0) {
+ PageSize = other.PageSize;
+ }
+ if (other.PageToken.Length != 0) {
+ PageToken = other.PageToken;
+ }
+ if (other.Email.Length != 0) {
+ Email = other.Email;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Email = input.ReadString();
+ break;
+ }
+ case 34: {
+ Namespace = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Email = input.ReadString();
+ break;
+ }
+ case 34: {
+ Namespace = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUsersResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUsersResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersResponse(GetUsersResponse other) : this() {
+ users_ = other.users_.Clone();
+ nextPageToken_ = other.nextPageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUsersResponse Clone() {
+ return new GetUsersResponse(this);
+ }
+
+ /// Field number for the "users" field.
+ public const int UsersFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_users_codec
+ = pb::FieldCodec.ForMessage(10, global::Temporalio.Api.Cloud.Identity.V1.User.Parser);
+ private readonly pbc::RepeatedField users_ = new pbc::RepeatedField();
+ ///
+ /// The list of users in ascending ids order
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Users {
+ get { return users_; }
+ }
+
+ /// Field number for the "next_page_token" field.
+ public const int NextPageTokenFieldNumber = 2;
+ private string nextPageToken_ = "";
+ ///
+ /// The next page's token
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NextPageToken {
+ get { return nextPageToken_; }
+ set {
+ nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUsersResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUsersResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!users_.Equals(other.users_)) return false;
+ if (NextPageToken != other.NextPageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= users_.GetHashCode();
+ if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ users_.WriteTo(output, _repeated_users_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ users_.WriteTo(ref output, _repeated_users_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += users_.CalculateSize(_repeated_users_codec);
+ if (NextPageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUsersResponse other) {
+ if (other == null) {
+ return;
+ }
+ users_.Add(other.users_);
+ if (other.NextPageToken.Length != 0) {
+ NextPageToken = other.NextPageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ users_.AddEntriesFrom(input, _repeated_users_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ users_.AddEntriesFrom(ref input, _repeated_users_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserRequest(GetUserRequest other) : this() {
+ userId_ = other.userId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserRequest Clone() {
+ return new GetUserRequest(this);
+ }
+
+ /// Field number for the "user_id" field.
+ public const int UserIdFieldNumber = 1;
+ private string userId_ = "";
+ ///
+ /// The id of the user to get
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UserId {
+ get { return userId_; }
+ set {
+ userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (UserId != other.UserId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (UserId.Length != 0) hash ^= UserId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (UserId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.UserId.Length != 0) {
+ UserId = other.UserId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserResponse(GetUserResponse other) : this() {
+ user_ = other.user_ != null ? other.user_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserResponse Clone() {
+ return new GetUserResponse(this);
+ }
+
+ /// Field number for the "user" field.
+ public const int UserFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.User user_;
+ ///
+ /// The user
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.User User {
+ get { return user_; }
+ set {
+ user_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(User, other.User)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (user_ != null) hash ^= User.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (user_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(User);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (user_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(User);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (user_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(User);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.user_ != null) {
+ if (user_ == null) {
+ User = new global::Temporalio.Api.Cloud.Identity.V1.User();
+ }
+ User.MergeFrom(other.User);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (user_ == null) {
+ User = new global::Temporalio.Api.Cloud.Identity.V1.User();
+ }
+ input.ReadMessage(User);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (user_ == null) {
+ User = new global::Temporalio.Api.Cloud.Identity.V1.User();
+ }
+ input.ReadMessage(User);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateUserRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateUserRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserRequest(CreateUserRequest other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserRequest Clone() {
+ return new CreateUserRequest(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.UserSpec spec_;
+ ///
+ /// The spec for the user to invite
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.UserSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 2;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateUserRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateUserRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateUserRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateUserResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateUserResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserResponse(CreateUserResponse other) : this() {
+ userId_ = other.userId_;
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserResponse Clone() {
+ return new CreateUserResponse(this);
+ }
+
+ /// Field number for the "user_id" field.
+ public const int UserIdFieldNumber = 1;
+ private string userId_ = "";
+ ///
+ /// The id of the user that was invited
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UserId {
+ get { return userId_; }
+ set {
+ userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateUserResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateUserResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (UserId != other.UserId) return false;
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (UserId.Length != 0) hash ^= UserId.GetHashCode();
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (UserId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
+ }
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateUserResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.UserId.Length != 0) {
+ UserId = other.UserId;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateUserRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateUserRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[6]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserRequest(UpdateUserRequest other) : this() {
+ userId_ = other.userId_;
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserRequest Clone() {
+ return new UpdateUserRequest(this);
+ }
+
+ /// Field number for the "user_id" field.
+ public const int UserIdFieldNumber = 1;
+ private string userId_ = "";
+ ///
+ /// The id of the user to update
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UserId {
+ get { return userId_; }
+ set {
+ userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Identity.V1.UserSpec spec_;
+ ///
+ /// The new user specification
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.UserSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 3;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the user for which this update is intended for
+ /// The latest version can be found in the GetUser operation response
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 4;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateUserRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateUserRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (UserId != other.UserId) return false;
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (UserId.Length != 0) hash ^= UserId.GetHashCode();
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (UserId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
+ }
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateUserRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.UserId.Length != 0) {
+ UserId = other.UserId;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateUserResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateUserResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[7]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserResponse(UpdateUserResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserResponse Clone() {
+ return new UpdateUserResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateUserResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateUserResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateUserResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteUserRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteUserRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[8]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserRequest(DeleteUserRequest other) : this() {
+ userId_ = other.userId_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserRequest Clone() {
+ return new DeleteUserRequest(this);
+ }
+
+ /// Field number for the "user_id" field.
+ public const int UserIdFieldNumber = 1;
+ private string userId_ = "";
+ ///
+ /// The id of the user to delete
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UserId {
+ get { return userId_; }
+ set {
+ userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 2;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the user for which this delete is intended for
+ /// The latest version can be found in the GetUser operation response
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteUserRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteUserRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (UserId != other.UserId) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (UserId.Length != 0) hash ^= UserId.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (UserId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(UserId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (UserId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteUserRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.UserId.Length != 0) {
+ UserId = other.UserId;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteUserResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteUserResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[9]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserResponse(DeleteUserResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserResponse Clone() {
+ return new DeleteUserResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteUserResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteUserResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteUserResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetUserNamespaceAccessRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetUserNamespaceAccessRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[10]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessRequest(SetUserNamespaceAccessRequest other) : this() {
+ namespace_ = other.namespace_;
+ userId_ = other.userId_;
+ access_ = other.access_ != null ? other.access_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessRequest Clone() {
+ return new SetUserNamespaceAccessRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to set permissions for
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "user_id" field.
+ public const int UserIdFieldNumber = 2;
+ private string userId_ = "";
+ ///
+ /// The id of the user to set permissions for
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UserId {
+ get { return userId_; }
+ set {
+ userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "access" field.
+ public const int AccessFieldNumber = 3;
+ private global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess access_;
+ ///
+ /// The namespace access to assign the user
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess Access {
+ get { return access_; }
+ set {
+ access_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 4;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the user for which this update is intended for
+ /// The latest version can be found in the GetUser operation response
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 5;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetUserNamespaceAccessRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetUserNamespaceAccessRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (UserId != other.UserId) return false;
+ if (!object.Equals(Access, other.Access)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (UserId.Length != 0) hash ^= UserId.GetHashCode();
+ if (access_ != null) hash ^= Access.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (UserId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(UserId);
+ }
+ if (access_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (UserId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(UserId);
+ }
+ if (access_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (UserId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
+ }
+ if (access_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetUserNamespaceAccessRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.UserId.Length != 0) {
+ UserId = other.UserId;
+ }
+ if (other.access_ != null) {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ Access.MergeFrom(other.Access);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ input.ReadMessage(Access);
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ UserId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ input.ReadMessage(Access);
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetUserNamespaceAccessResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetUserNamespaceAccessResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[11]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessResponse(SetUserNamespaceAccessResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserNamespaceAccessResponse Clone() {
+ return new SetUserNamespaceAccessResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetUserNamespaceAccessResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetUserNamespaceAccessResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetUserNamespaceAccessResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetAsyncOperationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAsyncOperationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[12]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationRequest(GetAsyncOperationRequest other) : this() {
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationRequest Clone() {
+ return new GetAsyncOperationRequest(this);
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 1;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id of the async operation to get
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAsyncOperationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAsyncOperationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAsyncOperationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetAsyncOperationResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAsyncOperationResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[13]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationResponse(GetAsyncOperationResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAsyncOperationResponse Clone() {
+ return new GetAsyncOperationResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAsyncOperationResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAsyncOperationResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAsyncOperationResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateNamespaceRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateNamespaceRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[14]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceRequest(CreateNamespaceRequest other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceRequest Clone() {
+ return new CreateNamespaceRequest(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec spec_;
+ ///
+ /// The namespace specification.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateNamespaceRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateNamespaceRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateNamespaceRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateNamespaceResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateNamespaceResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[15]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceResponse(CreateNamespaceResponse other) : this() {
+ namespace_ = other.namespace_;
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateNamespaceResponse Clone() {
+ return new CreateNamespaceResponse(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace that was created.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateNamespaceResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateNamespaceResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateNamespaceResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetNamespacesRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetNamespacesRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[16]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesRequest(GetNamespacesRequest other) : this() {
+ pageSize_ = other.pageSize_;
+ pageToken_ = other.pageToken_;
+ name_ = other.name_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesRequest Clone() {
+ return new GetNamespacesRequest(this);
+ }
+
+ /// Field number for the "page_size" field.
+ public const int PageSizeFieldNumber = 1;
+ private int pageSize_;
+ ///
+ /// The requested size of the page to retrieve.
+ /// Cannot exceed 1000.
+ /// Optional, defaults to 100.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int PageSize {
+ get { return pageSize_; }
+ set {
+ pageSize_ = value;
+ }
+ }
+
+ /// Field number for the "page_token" field.
+ public const int PageTokenFieldNumber = 2;
+ private string pageToken_ = "";
+ ///
+ /// The page token if this is continuing from another response.
+ /// Optional, defaults to empty.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PageToken {
+ get { return pageToken_; }
+ set {
+ pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 3;
+ private string name_ = "";
+ ///
+ /// Filter namespaces by their name.
+ /// Optional, defaults to empty.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetNamespacesRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetNamespacesRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (PageSize != other.PageSize) return false;
+ if (PageToken != other.PageToken) return false;
+ if (Name != other.Name) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (PageSize != 0) hash ^= PageSize.GetHashCode();
+ if (PageToken.Length != 0) hash ^= PageToken.GetHashCode();
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (PageSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken);
+ }
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetNamespacesRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.PageSize != 0) {
+ PageSize = other.PageSize;
+ }
+ if (other.PageToken.Length != 0) {
+ PageToken = other.PageToken;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetNamespacesResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetNamespacesResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[17]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesResponse(GetNamespacesResponse other) : this() {
+ namespaces_ = other.namespaces_.Clone();
+ nextPageToken_ = other.nextPageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespacesResponse Clone() {
+ return new GetNamespacesResponse(this);
+ }
+
+ /// Field number for the "namespaces" field.
+ public const int NamespacesFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_namespaces_codec
+ = pb::FieldCodec.ForMessage(10, global::Temporalio.Api.Cloud.Namespace.V1.Namespace.Parser);
+ private readonly pbc::RepeatedField namespaces_ = new pbc::RepeatedField();
+ ///
+ /// The list of namespaces in ascending name order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Namespaces {
+ get { return namespaces_; }
+ }
+
+ /// Field number for the "next_page_token" field.
+ public const int NextPageTokenFieldNumber = 2;
+ private string nextPageToken_ = "";
+ ///
+ /// The next page's token.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NextPageToken {
+ get { return nextPageToken_; }
+ set {
+ nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetNamespacesResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetNamespacesResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!namespaces_.Equals(other.namespaces_)) return false;
+ if (NextPageToken != other.NextPageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= namespaces_.GetHashCode();
+ if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ namespaces_.WriteTo(output, _repeated_namespaces_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ namespaces_.WriteTo(ref output, _repeated_namespaces_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += namespaces_.CalculateSize(_repeated_namespaces_codec);
+ if (NextPageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetNamespacesResponse other) {
+ if (other == null) {
+ return;
+ }
+ namespaces_.Add(other.namespaces_);
+ if (other.NextPageToken.Length != 0) {
+ NextPageToken = other.NextPageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ namespaces_.AddEntriesFrom(input, _repeated_namespaces_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ namespaces_.AddEntriesFrom(ref input, _repeated_namespaces_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetNamespaceRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetNamespaceRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[18]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceRequest(GetNamespaceRequest other) : this() {
+ namespace_ = other.namespace_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceRequest Clone() {
+ return new GetNamespaceRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to get.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetNamespaceRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetNamespaceRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetNamespaceRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetNamespaceResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetNamespaceResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[19]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceResponse(GetNamespaceResponse other) : this() {
+ namespace_ = other.namespace_ != null ? other.namespace_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetNamespaceResponse Clone() {
+ return new GetNamespaceResponse(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Namespace.V1.Namespace namespace_;
+ ///
+ /// The namespace.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Namespace.V1.Namespace Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetNamespaceResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetNamespaceResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Namespace, other.Namespace)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (namespace_ != null) hash ^= Namespace.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (namespace_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (namespace_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Namespace);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (namespace_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Namespace);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetNamespaceResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.namespace_ != null) {
+ if (namespace_ == null) {
+ Namespace = new global::Temporalio.Api.Cloud.Namespace.V1.Namespace();
+ }
+ Namespace.MergeFrom(other.Namespace);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (namespace_ == null) {
+ Namespace = new global::Temporalio.Api.Cloud.Namespace.V1.Namespace();
+ }
+ input.ReadMessage(Namespace);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (namespace_ == null) {
+ Namespace = new global::Temporalio.Api.Cloud.Namespace.V1.Namespace();
+ }
+ input.ReadMessage(Namespace);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateNamespaceRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateNamespaceRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[20]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceRequest(UpdateNamespaceRequest other) : this() {
+ namespace_ = other.namespace_;
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceRequest Clone() {
+ return new UpdateNamespaceRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to update.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec spec_;
+ ///
+ /// The new namespace specification.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 3;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the namespace for which this update is intended for.
+ /// The latest version can be found in the namespace status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 4;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateNamespaceRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateNamespaceRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateNamespaceRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Namespace.V1.NamespaceSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateNamespaceResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateNamespaceResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[21]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceResponse(UpdateNamespaceResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateNamespaceResponse Clone() {
+ return new UpdateNamespaceResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateNamespaceResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateNamespaceResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateNamespaceResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class RenameCustomSearchAttributeRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCustomSearchAttributeRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[22]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeRequest(RenameCustomSearchAttributeRequest other) : this() {
+ namespace_ = other.namespace_;
+ existingCustomSearchAttributeName_ = other.existingCustomSearchAttributeName_;
+ newCustomSearchAttributeName_ = other.newCustomSearchAttributeName_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeRequest Clone() {
+ return new RenameCustomSearchAttributeRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to rename the custom search attribute for.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "existing_custom_search_attribute_name" field.
+ public const int ExistingCustomSearchAttributeNameFieldNumber = 2;
+ private string existingCustomSearchAttributeName_ = "";
+ ///
+ /// The existing name of the custom search attribute to be renamed.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ExistingCustomSearchAttributeName {
+ get { return existingCustomSearchAttributeName_; }
+ set {
+ existingCustomSearchAttributeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "new_custom_search_attribute_name" field.
+ public const int NewCustomSearchAttributeNameFieldNumber = 3;
+ private string newCustomSearchAttributeName_ = "";
+ ///
+ /// The new name of the custom search attribute.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NewCustomSearchAttributeName {
+ get { return newCustomSearchAttributeName_; }
+ set {
+ newCustomSearchAttributeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 4;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the namespace for which this update is intended for.
+ /// The latest version can be found in the namespace status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 5;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as RenameCustomSearchAttributeRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(RenameCustomSearchAttributeRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (ExistingCustomSearchAttributeName != other.ExistingCustomSearchAttributeName) return false;
+ if (NewCustomSearchAttributeName != other.NewCustomSearchAttributeName) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (ExistingCustomSearchAttributeName.Length != 0) hash ^= ExistingCustomSearchAttributeName.GetHashCode();
+ if (NewCustomSearchAttributeName.Length != 0) hash ^= NewCustomSearchAttributeName.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (ExistingCustomSearchAttributeName.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ExistingCustomSearchAttributeName);
+ }
+ if (NewCustomSearchAttributeName.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(NewCustomSearchAttributeName);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (ExistingCustomSearchAttributeName.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ExistingCustomSearchAttributeName);
+ }
+ if (NewCustomSearchAttributeName.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(NewCustomSearchAttributeName);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (ExistingCustomSearchAttributeName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ExistingCustomSearchAttributeName);
+ }
+ if (NewCustomSearchAttributeName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NewCustomSearchAttributeName);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(RenameCustomSearchAttributeRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.ExistingCustomSearchAttributeName.Length != 0) {
+ ExistingCustomSearchAttributeName = other.ExistingCustomSearchAttributeName;
+ }
+ if (other.NewCustomSearchAttributeName.Length != 0) {
+ NewCustomSearchAttributeName = other.NewCustomSearchAttributeName;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ ExistingCustomSearchAttributeName = input.ReadString();
+ break;
+ }
+ case 26: {
+ NewCustomSearchAttributeName = input.ReadString();
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ ExistingCustomSearchAttributeName = input.ReadString();
+ break;
+ }
+ case 26: {
+ NewCustomSearchAttributeName = input.ReadString();
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class RenameCustomSearchAttributeResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCustomSearchAttributeResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[23]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeResponse(RenameCustomSearchAttributeResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public RenameCustomSearchAttributeResponse Clone() {
+ return new RenameCustomSearchAttributeResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as RenameCustomSearchAttributeResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(RenameCustomSearchAttributeResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(RenameCustomSearchAttributeResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteNamespaceRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteNamespaceRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[24]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceRequest(DeleteNamespaceRequest other) : this() {
+ namespace_ = other.namespace_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceRequest Clone() {
+ return new DeleteNamespaceRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to delete.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 2;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the namespace for which this delete is intended for.
+ /// The latest version can be found in the namespace status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteNamespaceRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteNamespaceRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteNamespaceRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteNamespaceResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteNamespaceResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[25]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceResponse(DeleteNamespaceResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteNamespaceResponse Clone() {
+ return new DeleteNamespaceResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteNamespaceResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteNamespaceResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteNamespaceResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class FailoverNamespaceRegionRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FailoverNamespaceRegionRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[26]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionRequest(FailoverNamespaceRegionRequest other) : this() {
+ namespace_ = other.namespace_;
+ region_ = other.region_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionRequest Clone() {
+ return new FailoverNamespaceRegionRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to failover.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "region" field.
+ public const int RegionFieldNumber = 2;
+ private string region_ = "";
+ ///
+ /// The id of the region to failover to.
+ /// Must be a region that the namespace is currently available in.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Region {
+ get { return region_; }
+ set {
+ region_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as FailoverNamespaceRegionRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(FailoverNamespaceRegionRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (Region != other.Region) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (Region.Length != 0) hash ^= Region.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (Region.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Region);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (Region.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Region);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (Region.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Region);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(FailoverNamespaceRegionRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.Region.Length != 0) {
+ Region = other.Region;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ Region = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ Region = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class FailoverNamespaceRegionResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FailoverNamespaceRegionResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[27]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionResponse(FailoverNamespaceRegionResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FailoverNamespaceRegionResponse Clone() {
+ return new FailoverNamespaceRegionResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as FailoverNamespaceRegionResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(FailoverNamespaceRegionResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(FailoverNamespaceRegionResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class AddNamespaceRegionRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddNamespaceRegionRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[28]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionRequest(AddNamespaceRegionRequest other) : this() {
+ namespace_ = other.namespace_;
+ region_ = other.region_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionRequest Clone() {
+ return new AddNamespaceRegionRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to add the region to.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "region" field.
+ public const int RegionFieldNumber = 2;
+ private string region_ = "";
+ ///
+ /// The id of the standby region to add to the namespace.
+ /// The GetRegions API can be used to get the list of valid region ids.
+ /// Example: "aws-us-west-2".
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Region {
+ get { return region_; }
+ set {
+ region_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 3;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the namespace for which this add region operation is intended for.
+ /// The latest version can be found in the GetNamespace operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 4;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddNamespaceRegionRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddNamespaceRegionRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (Region != other.Region) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (Region.Length != 0) hash ^= Region.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (Region.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Region);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (Region.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Region);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (Region.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Region);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddNamespaceRegionRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.Region.Length != 0) {
+ Region = other.Region;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ Region = input.ReadString();
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ Region = input.ReadString();
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class AddNamespaceRegionResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddNamespaceRegionResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[29]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionResponse(AddNamespaceRegionResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddNamespaceRegionResponse Clone() {
+ return new AddNamespaceRegionResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddNamespaceRegionResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddNamespaceRegionResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddNamespaceRegionResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetRegionsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRegionsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[30]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsRequest(GetRegionsRequest other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsRequest Clone() {
+ return new GetRegionsRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetRegionsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetRegionsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetRegionsRequest other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetRegionsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRegionsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[31]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsResponse(GetRegionsResponse other) : this() {
+ regions_ = other.regions_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionsResponse Clone() {
+ return new GetRegionsResponse(this);
+ }
+
+ /// Field number for the "regions" field.
+ public const int RegionsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_regions_codec
+ = pb::FieldCodec.ForMessage(10, global::Temporalio.Api.Cloud.Region.V1.Region.Parser);
+ private readonly pbc::RepeatedField regions_ = new pbc::RepeatedField();
+ ///
+ /// The temporal cloud regions.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Regions {
+ get { return regions_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetRegionsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetRegionsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!regions_.Equals(other.regions_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= regions_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ regions_.WriteTo(output, _repeated_regions_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ regions_.WriteTo(ref output, _repeated_regions_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += regions_.CalculateSize(_repeated_regions_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetRegionsResponse other) {
+ if (other == null) {
+ return;
+ }
+ regions_.Add(other.regions_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ regions_.AddEntriesFrom(input, _repeated_regions_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ regions_.AddEntriesFrom(ref input, _repeated_regions_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetRegionRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRegionRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[32]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionRequest(GetRegionRequest other) : this() {
+ region_ = other.region_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionRequest Clone() {
+ return new GetRegionRequest(this);
+ }
+
+ /// Field number for the "region" field.
+ public const int RegionFieldNumber = 1;
+ private string region_ = "";
+ ///
+ /// The id of the region to get.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Region {
+ get { return region_; }
+ set {
+ region_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetRegionRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetRegionRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Region != other.Region) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Region.Length != 0) hash ^= Region.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Region.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Region);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Region.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Region);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Region.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Region);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetRegionRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Region.Length != 0) {
+ Region = other.Region;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Region = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Region = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetRegionResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetRegionResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[33]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionResponse(GetRegionResponse other) : this() {
+ region_ = other.region_ != null ? other.region_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetRegionResponse Clone() {
+ return new GetRegionResponse(this);
+ }
+
+ /// Field number for the "region" field.
+ public const int RegionFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Region.V1.Region region_;
+ ///
+ /// The temporal cloud region.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Region.V1.Region Region {
+ get { return region_; }
+ set {
+ region_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetRegionResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetRegionResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Region, other.Region)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (region_ != null) hash ^= Region.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (region_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Region);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (region_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Region);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (region_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Region);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetRegionResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.region_ != null) {
+ if (region_ == null) {
+ Region = new global::Temporalio.Api.Cloud.Region.V1.Region();
+ }
+ Region.MergeFrom(other.Region);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (region_ == null) {
+ Region = new global::Temporalio.Api.Cloud.Region.V1.Region();
+ }
+ input.ReadMessage(Region);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (region_ == null) {
+ Region = new global::Temporalio.Api.Cloud.Region.V1.Region();
+ }
+ input.ReadMessage(Region);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApiKeysRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApiKeysRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[34]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysRequest(GetApiKeysRequest other) : this() {
+ pageSize_ = other.pageSize_;
+ pageToken_ = other.pageToken_;
+ ownerId_ = other.ownerId_;
+ ownerType_ = other.ownerType_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysRequest Clone() {
+ return new GetApiKeysRequest(this);
+ }
+
+ /// Field number for the "page_size" field.
+ public const int PageSizeFieldNumber = 1;
+ private int pageSize_;
+ ///
+ /// The requested size of the page to retrieve - optional.
+ /// Cannot exceed 1000. Defaults to 100.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int PageSize {
+ get { return pageSize_; }
+ set {
+ pageSize_ = value;
+ }
+ }
+
+ /// Field number for the "page_token" field.
+ public const int PageTokenFieldNumber = 2;
+ private string pageToken_ = "";
+ ///
+ /// The page token if this is continuing from another response - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PageToken {
+ get { return pageToken_; }
+ set {
+ pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "owner_id" field.
+ public const int OwnerIdFieldNumber = 3;
+ private string ownerId_ = "";
+ ///
+ /// Filter api keys by owner id - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string OwnerId {
+ get { return ownerId_; }
+ set {
+ ownerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "owner_type" field.
+ public const int OwnerTypeFieldNumber = 4;
+ private string ownerType_ = "";
+ ///
+ /// Filter api keys by owner type - optional.
+ /// Possible values: user, service-account
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string OwnerType {
+ get { return ownerType_; }
+ set {
+ ownerType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApiKeysRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApiKeysRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (PageSize != other.PageSize) return false;
+ if (PageToken != other.PageToken) return false;
+ if (OwnerId != other.OwnerId) return false;
+ if (OwnerType != other.OwnerType) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (PageSize != 0) hash ^= PageSize.GetHashCode();
+ if (PageToken.Length != 0) hash ^= PageToken.GetHashCode();
+ if (OwnerId.Length != 0) hash ^= OwnerId.GetHashCode();
+ if (OwnerType.Length != 0) hash ^= OwnerType.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (OwnerId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(OwnerId);
+ }
+ if (OwnerType.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(OwnerType);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (OwnerId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(OwnerId);
+ }
+ if (OwnerType.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(OwnerType);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (PageSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken);
+ }
+ if (OwnerId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(OwnerId);
+ }
+ if (OwnerType.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(OwnerType);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApiKeysRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.PageSize != 0) {
+ PageSize = other.PageSize;
+ }
+ if (other.PageToken.Length != 0) {
+ PageToken = other.PageToken;
+ }
+ if (other.OwnerId.Length != 0) {
+ OwnerId = other.OwnerId;
+ }
+ if (other.OwnerType.Length != 0) {
+ OwnerType = other.OwnerType;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ OwnerId = input.ReadString();
+ break;
+ }
+ case 34: {
+ OwnerType = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ OwnerId = input.ReadString();
+ break;
+ }
+ case 34: {
+ OwnerType = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApiKeysResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApiKeysResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[35]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysResponse(GetApiKeysResponse other) : this() {
+ apiKeys_ = other.apiKeys_.Clone();
+ nextPageToken_ = other.nextPageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeysResponse Clone() {
+ return new GetApiKeysResponse(this);
+ }
+
+ /// Field number for the "api_keys" field.
+ public const int ApiKeysFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_apiKeys_codec
+ = pb::FieldCodec.ForMessage(10, global::Temporalio.Api.Cloud.Identity.V1.ApiKey.Parser);
+ private readonly pbc::RepeatedField apiKeys_ = new pbc::RepeatedField();
+ ///
+ /// The list of api keys in ascending id order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField ApiKeys {
+ get { return apiKeys_; }
+ }
+
+ /// Field number for the "next_page_token" field.
+ public const int NextPageTokenFieldNumber = 2;
+ private string nextPageToken_ = "";
+ ///
+ /// The next page's token.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NextPageToken {
+ get { return nextPageToken_; }
+ set {
+ nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApiKeysResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApiKeysResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!apiKeys_.Equals(other.apiKeys_)) return false;
+ if (NextPageToken != other.NextPageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= apiKeys_.GetHashCode();
+ if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ apiKeys_.WriteTo(output, _repeated_apiKeys_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ apiKeys_.WriteTo(ref output, _repeated_apiKeys_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += apiKeys_.CalculateSize(_repeated_apiKeys_codec);
+ if (NextPageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApiKeysResponse other) {
+ if (other == null) {
+ return;
+ }
+ apiKeys_.Add(other.apiKeys_);
+ if (other.NextPageToken.Length != 0) {
+ NextPageToken = other.NextPageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ apiKeys_.AddEntriesFrom(input, _repeated_apiKeys_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ apiKeys_.AddEntriesFrom(ref input, _repeated_apiKeys_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApiKeyRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApiKeyRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[36]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyRequest(GetApiKeyRequest other) : this() {
+ keyId_ = other.keyId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyRequest Clone() {
+ return new GetApiKeyRequest(this);
+ }
+
+ /// Field number for the "key_id" field.
+ public const int KeyIdFieldNumber = 1;
+ private string keyId_ = "";
+ ///
+ /// The id of the api key to get.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string KeyId {
+ get { return keyId_; }
+ set {
+ keyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApiKeyRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApiKeyRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (KeyId != other.KeyId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (KeyId.Length != 0) hash ^= KeyId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (KeyId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApiKeyRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.KeyId.Length != 0) {
+ KeyId = other.KeyId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApiKeyResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApiKeyResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[37]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyResponse(GetApiKeyResponse other) : this() {
+ apiKey_ = other.apiKey_ != null ? other.apiKey_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApiKeyResponse Clone() {
+ return new GetApiKeyResponse(this);
+ }
+
+ /// Field number for the "api_key" field.
+ public const int ApiKeyFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.ApiKey apiKey_;
+ ///
+ /// The api key.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.ApiKey ApiKey {
+ get { return apiKey_; }
+ set {
+ apiKey_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApiKeyResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApiKeyResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(ApiKey, other.ApiKey)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (apiKey_ != null) hash ^= ApiKey.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (apiKey_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(ApiKey);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (apiKey_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(ApiKey);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (apiKey_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiKey);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApiKeyResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.apiKey_ != null) {
+ if (apiKey_ == null) {
+ ApiKey = new global::Temporalio.Api.Cloud.Identity.V1.ApiKey();
+ }
+ ApiKey.MergeFrom(other.ApiKey);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (apiKey_ == null) {
+ ApiKey = new global::Temporalio.Api.Cloud.Identity.V1.ApiKey();
+ }
+ input.ReadMessage(ApiKey);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (apiKey_ == null) {
+ ApiKey = new global::Temporalio.Api.Cloud.Identity.V1.ApiKey();
+ }
+ input.ReadMessage(ApiKey);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateApiKeyRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateApiKeyRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[38]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyRequest(CreateApiKeyRequest other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyRequest Clone() {
+ return new CreateApiKeyRequest(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec spec_;
+ ///
+ /// The spec for the api key to create.
+ /// Create api key only supports service-account owner type for now.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 2;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateApiKeyRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateApiKeyRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateApiKeyRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateApiKeyResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateApiKeyResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[39]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyResponse(CreateApiKeyResponse other) : this() {
+ keyId_ = other.keyId_;
+ token_ = other.token_;
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApiKeyResponse Clone() {
+ return new CreateApiKeyResponse(this);
+ }
+
+ /// Field number for the "key_id" field.
+ public const int KeyIdFieldNumber = 1;
+ private string keyId_ = "";
+ ///
+ /// The id of the api key created.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string KeyId {
+ get { return keyId_; }
+ set {
+ keyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "token" field.
+ public const int TokenFieldNumber = 2;
+ private string token_ = "";
+ ///
+ /// The token of the api key created.
+ /// This is a secret and should be stored securely.
+ /// It will not be retrievable after this response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Token {
+ get { return token_; }
+ set {
+ token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 3;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateApiKeyResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateApiKeyResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (KeyId != other.KeyId) return false;
+ if (Token != other.Token) return false;
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (KeyId.Length != 0) hash ^= KeyId.GetHashCode();
+ if (Token.Length != 0) hash ^= Token.GetHashCode();
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (Token.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Token);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (Token.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Token);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (KeyId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyId);
+ }
+ if (Token.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
+ }
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateApiKeyResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.KeyId.Length != 0) {
+ KeyId = other.KeyId;
+ }
+ if (other.Token.Length != 0) {
+ Token = other.Token;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ Token = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ Token = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateApiKeyRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateApiKeyRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[40]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyRequest(UpdateApiKeyRequest other) : this() {
+ keyId_ = other.keyId_;
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyRequest Clone() {
+ return new UpdateApiKeyRequest(this);
+ }
+
+ /// Field number for the "key_id" field.
+ public const int KeyIdFieldNumber = 1;
+ private string keyId_ = "";
+ ///
+ /// The id of the api key to update.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string KeyId {
+ get { return keyId_; }
+ set {
+ keyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec spec_;
+ ///
+ /// The new api key specification.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 3;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the api key for which this update is intended for.
+ /// The latest version can be found in the GetApiKey operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 4;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateApiKeyRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateApiKeyRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (KeyId != other.KeyId) return false;
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (KeyId.Length != 0) hash ^= KeyId.GetHashCode();
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (KeyId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyId);
+ }
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateApiKeyRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.KeyId.Length != 0) {
+ KeyId = other.KeyId;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ApiKeySpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateApiKeyResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateApiKeyResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[41]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyResponse(UpdateApiKeyResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApiKeyResponse Clone() {
+ return new UpdateApiKeyResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateApiKeyResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateApiKeyResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateApiKeyResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteApiKeyRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteApiKeyRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[42]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyRequest(DeleteApiKeyRequest other) : this() {
+ keyId_ = other.keyId_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyRequest Clone() {
+ return new DeleteApiKeyRequest(this);
+ }
+
+ /// Field number for the "key_id" field.
+ public const int KeyIdFieldNumber = 1;
+ private string keyId_ = "";
+ ///
+ /// The id of the api key to delete.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string KeyId {
+ get { return keyId_; }
+ set {
+ keyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 2;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the api key for which this delete is intended for.
+ /// The latest version can be found in the GetApiKey operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteApiKeyRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteApiKeyRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (KeyId != other.KeyId) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (KeyId.Length != 0) hash ^= KeyId.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (KeyId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(KeyId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (KeyId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyId);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteApiKeyRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.KeyId.Length != 0) {
+ KeyId = other.KeyId;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ KeyId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteApiKeyResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteApiKeyResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[43]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyResponse(DeleteApiKeyResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApiKeyResponse Clone() {
+ return new DeleteApiKeyResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteApiKeyResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteApiKeyResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteApiKeyResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserGroupsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserGroupsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[44]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsRequest(GetUserGroupsRequest other) : this() {
+ pageSize_ = other.pageSize_;
+ pageToken_ = other.pageToken_;
+ namespace_ = other.namespace_;
+ groupName_ = other.groupName_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsRequest Clone() {
+ return new GetUserGroupsRequest(this);
+ }
+
+ /// Field number for the "page_size" field.
+ public const int PageSizeFieldNumber = 1;
+ private int pageSize_;
+ ///
+ /// The requested size of the page to retrieve - optional.
+ /// Cannot exceed 1000. Defaults to 100.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int PageSize {
+ get { return pageSize_; }
+ set {
+ pageSize_ = value;
+ }
+ }
+
+ /// Field number for the "page_token" field.
+ public const int PageTokenFieldNumber = 2;
+ private string pageToken_ = "";
+ ///
+ /// The page token if this is continuing from another response - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PageToken {
+ get { return pageToken_; }
+ set {
+ pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 3;
+ private string namespace_ = "";
+ ///
+ /// Filter groups by the namespace they have access to - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "group_name" field.
+ public const int GroupNameFieldNumber = 4;
+ private string groupName_ = "";
+ ///
+ /// Filter groups by their name - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupName {
+ get { return groupName_; }
+ set {
+ groupName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserGroupsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserGroupsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (PageSize != other.PageSize) return false;
+ if (PageToken != other.PageToken) return false;
+ if (Namespace != other.Namespace) return false;
+ if (GroupName != other.GroupName) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (PageSize != 0) hash ^= PageSize.GetHashCode();
+ if (PageToken.Length != 0) hash ^= PageToken.GetHashCode();
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (GroupName.Length != 0) hash ^= GroupName.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Namespace);
+ }
+ if (GroupName.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(GroupName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (PageSize != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(PageToken);
+ }
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Namespace);
+ }
+ if (GroupName.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(GroupName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (PageSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken);
+ }
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (GroupName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupName);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserGroupsRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.PageSize != 0) {
+ PageSize = other.PageSize;
+ }
+ if (other.PageToken.Length != 0) {
+ PageToken = other.PageToken;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.GroupName.Length != 0) {
+ GroupName = other.GroupName;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 34: {
+ GroupName = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ PageToken = input.ReadString();
+ break;
+ }
+ case 26: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 34: {
+ GroupName = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserGroupsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserGroupsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[45]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsResponse(GetUserGroupsResponse other) : this() {
+ groups_ = other.groups_.Clone();
+ nextPageToken_ = other.nextPageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupsResponse Clone() {
+ return new GetUserGroupsResponse(this);
+ }
+
+ /// Field number for the "groups" field.
+ public const int GroupsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_groups_codec
+ = pb::FieldCodec.ForMessage(10, global::Temporalio.Api.Cloud.Identity.V1.UserGroup.Parser);
+ private readonly pbc::RepeatedField groups_ = new pbc::RepeatedField();
+ ///
+ /// The list of groups in ascending name order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Groups {
+ get { return groups_; }
+ }
+
+ /// Field number for the "next_page_token" field.
+ public const int NextPageTokenFieldNumber = 2;
+ private string nextPageToken_ = "";
+ ///
+ /// The next page's token.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NextPageToken {
+ get { return nextPageToken_; }
+ set {
+ nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserGroupsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserGroupsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!groups_.Equals(other.groups_)) return false;
+ if (NextPageToken != other.NextPageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= groups_.GetHashCode();
+ if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ groups_.WriteTo(output, _repeated_groups_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ groups_.WriteTo(ref output, _repeated_groups_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += groups_.CalculateSize(_repeated_groups_codec);
+ if (NextPageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserGroupsResponse other) {
+ if (other == null) {
+ return;
+ }
+ groups_.Add(other.groups_);
+ if (other.NextPageToken.Length != 0) {
+ NextPageToken = other.NextPageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ groups_.AddEntriesFrom(input, _repeated_groups_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ groups_.AddEntriesFrom(ref input, _repeated_groups_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserGroupRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserGroupRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[46]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupRequest(GetUserGroupRequest other) : this() {
+ groupId_ = other.groupId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupRequest Clone() {
+ return new GetUserGroupRequest(this);
+ }
+
+ /// Field number for the "group_id" field.
+ public const int GroupIdFieldNumber = 1;
+ private string groupId_ = "";
+ ///
+ /// The id of the group to get.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupId {
+ get { return groupId_; }
+ set {
+ groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserGroupRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserGroupRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (GroupId != other.GroupId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (GroupId.Length != 0) hash ^= GroupId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (GroupId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserGroupRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.GroupId.Length != 0) {
+ GroupId = other.GroupId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetUserGroupResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserGroupResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[47]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupResponse(GetUserGroupResponse other) : this() {
+ group_ = other.group_ != null ? other.group_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetUserGroupResponse Clone() {
+ return new GetUserGroupResponse(this);
+ }
+
+ /// Field number for the "group" field.
+ public const int GroupFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.UserGroup group_;
+ ///
+ /// The group.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.UserGroup Group {
+ get { return group_; }
+ set {
+ group_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetUserGroupResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetUserGroupResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Group, other.Group)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (group_ != null) hash ^= Group.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (group_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Group);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (group_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Group);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (group_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Group);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetUserGroupResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.group_ != null) {
+ if (group_ == null) {
+ Group = new global::Temporalio.Api.Cloud.Identity.V1.UserGroup();
+ }
+ Group.MergeFrom(other.Group);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (group_ == null) {
+ Group = new global::Temporalio.Api.Cloud.Identity.V1.UserGroup();
+ }
+ input.ReadMessage(Group);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (group_ == null) {
+ Group = new global::Temporalio.Api.Cloud.Identity.V1.UserGroup();
+ }
+ input.ReadMessage(Group);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateUserGroupRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateUserGroupRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[48]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupRequest(CreateUserGroupRequest other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupRequest Clone() {
+ return new CreateUserGroupRequest(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec spec_;
+ ///
+ /// The spec for the group to create.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 2;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateUserGroupRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateUserGroupRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateUserGroupRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateUserGroupResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateUserGroupResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[49]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupResponse(CreateUserGroupResponse other) : this() {
+ groupId_ = other.groupId_;
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateUserGroupResponse Clone() {
+ return new CreateUserGroupResponse(this);
+ }
+
+ /// Field number for the "group_id" field.
+ public const int GroupIdFieldNumber = 1;
+ private string groupId_ = "";
+ ///
+ /// The id of the group that was created.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupId {
+ get { return groupId_; }
+ set {
+ groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateUserGroupResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateUserGroupResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (GroupId != other.GroupId) return false;
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (GroupId.Length != 0) hash ^= GroupId.GetHashCode();
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (GroupId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId);
+ }
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateUserGroupResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.GroupId.Length != 0) {
+ GroupId = other.GroupId;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateUserGroupRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateUserGroupRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[50]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupRequest(UpdateUserGroupRequest other) : this() {
+ groupId_ = other.groupId_;
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupRequest Clone() {
+ return new UpdateUserGroupRequest(this);
+ }
+
+ /// Field number for the "group_id" field.
+ public const int GroupIdFieldNumber = 1;
+ private string groupId_ = "";
+ ///
+ /// The id of the group to update.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupId {
+ get { return groupId_; }
+ set {
+ groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec spec_;
+ ///
+ /// The new group specification.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 3;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the group for which this update is intended for.
+ /// The latest version can be found in the GetGroup operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 4;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateUserGroupRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateUserGroupRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (GroupId != other.GroupId) return false;
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (GroupId.Length != 0) hash ^= GroupId.GetHashCode();
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (spec_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (GroupId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId);
+ }
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateUserGroupRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.GroupId.Length != 0) {
+ GroupId = other.GroupId;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.UserGroupSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 26: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 34: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateUserGroupResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateUserGroupResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[51]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupResponse(UpdateUserGroupResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateUserGroupResponse Clone() {
+ return new UpdateUserGroupResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateUserGroupResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateUserGroupResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateUserGroupResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteUserGroupRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteUserGroupRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[52]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupRequest(DeleteUserGroupRequest other) : this() {
+ groupId_ = other.groupId_;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupRequest Clone() {
+ return new DeleteUserGroupRequest(this);
+ }
+
+ /// Field number for the "group_id" field.
+ public const int GroupIdFieldNumber = 1;
+ private string groupId_ = "";
+ ///
+ /// The id of the group to delete.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupId {
+ get { return groupId_; }
+ set {
+ groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 2;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the group for which this delete is intended for.
+ /// The latest version can be found in the GetGroup operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 3;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation.
+ /// Optional, if not provided a random id will be generated.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteUserGroupRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteUserGroupRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (GroupId != other.GroupId) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (GroupId.Length != 0) hash ^= GroupId.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(GroupId);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (GroupId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteUserGroupRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.GroupId.Length != 0) {
+ GroupId = other.GroupId;
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 18: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 26: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteUserGroupResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteUserGroupResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[53]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupResponse(DeleteUserGroupResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteUserGroupResponse Clone() {
+ return new DeleteUserGroupResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteUserGroupResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteUserGroupResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteUserGroupResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetUserGroupNamespaceAccessRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetUserGroupNamespaceAccessRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[54]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessRequest(SetUserGroupNamespaceAccessRequest other) : this() {
+ namespace_ = other.namespace_;
+ groupId_ = other.groupId_;
+ access_ = other.access_ != null ? other.access_.Clone() : null;
+ resourceVersion_ = other.resourceVersion_;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessRequest Clone() {
+ return new SetUserGroupNamespaceAccessRequest(this);
+ }
+
+ /// Field number for the "namespace" field.
+ public const int NamespaceFieldNumber = 1;
+ private string namespace_ = "";
+ ///
+ /// The namespace to set permissions for.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Namespace {
+ get { return namespace_; }
+ set {
+ namespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "group_id" field.
+ public const int GroupIdFieldNumber = 2;
+ private string groupId_ = "";
+ ///
+ /// The id of the group to set permissions for.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string GroupId {
+ get { return groupId_; }
+ set {
+ groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "access" field.
+ public const int AccessFieldNumber = 3;
+ private global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess access_;
+ ///
+ /// The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess Access {
+ get { return access_; }
+ set {
+ access_ = value;
+ }
+ }
+
+ /// Field number for the "resource_version" field.
+ public const int ResourceVersionFieldNumber = 4;
+ private string resourceVersion_ = "";
+ ///
+ /// The version of the group for which this update is intended for.
+ /// The latest version can be found in the GetGroup operation response.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ResourceVersion {
+ get { return resourceVersion_; }
+ set {
+ resourceVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 5;
+ private string asyncOperationId_ = "";
+ ///
+ /// The id to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetUserGroupNamespaceAccessRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetUserGroupNamespaceAccessRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Namespace != other.Namespace) return false;
+ if (GroupId != other.GroupId) return false;
+ if (!object.Equals(Access, other.Access)) return false;
+ if (ResourceVersion != other.ResourceVersion) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Namespace.Length != 0) hash ^= Namespace.GetHashCode();
+ if (GroupId.Length != 0) hash ^= GroupId.GetHashCode();
+ if (access_ != null) hash ^= Access.GetHashCode();
+ if (ResourceVersion.Length != 0) hash ^= ResourceVersion.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(GroupId);
+ }
+ if (access_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Namespace.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Namespace);
+ }
+ if (GroupId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(GroupId);
+ }
+ if (access_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Namespace.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Namespace);
+ }
+ if (GroupId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId);
+ }
+ if (access_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Access);
+ }
+ if (ResourceVersion.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceVersion);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetUserGroupNamespaceAccessRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Namespace.Length != 0) {
+ Namespace = other.Namespace;
+ }
+ if (other.GroupId.Length != 0) {
+ GroupId = other.GroupId;
+ }
+ if (other.access_ != null) {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ Access.MergeFrom(other.Access);
+ }
+ if (other.ResourceVersion.Length != 0) {
+ ResourceVersion = other.ResourceVersion;
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ input.ReadMessage(Access);
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Namespace = input.ReadString();
+ break;
+ }
+ case 18: {
+ GroupId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (access_ == null) {
+ Access = new global::Temporalio.Api.Cloud.Identity.V1.NamespaceAccess();
+ }
+ input.ReadMessage(Access);
+ break;
+ }
+ case 34: {
+ ResourceVersion = input.ReadString();
+ break;
+ }
+ case 42: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetUserGroupNamespaceAccessResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetUserGroupNamespaceAccessResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[55]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessResponse(SetUserGroupNamespaceAccessResponse other) : this() {
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetUserGroupNamespaceAccessResponse Clone() {
+ return new SetUserGroupNamespaceAccessResponse(this);
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetUserGroupNamespaceAccessResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetUserGroupNamespaceAccessResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetUserGroupNamespaceAccessResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateServiceAccountRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateServiceAccountRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[56]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountRequest(CreateServiceAccountRequest other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ asyncOperationId_ = other.asyncOperationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountRequest Clone() {
+ return new CreateServiceAccountRequest(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 1;
+ private global::Temporalio.Api.Cloud.Identity.V1.ServiceAccountSpec spec_;
+ ///
+ /// The spec of the service account to create.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Identity.V1.ServiceAccountSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "async_operation_id" field.
+ public const int AsyncOperationIdFieldNumber = 2;
+ private string asyncOperationId_ = "";
+ ///
+ /// The ID to use for this async operation - optional.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AsyncOperationId {
+ get { return asyncOperationId_; }
+ set {
+ asyncOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateServiceAccountRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateServiceAccountRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if (AsyncOperationId != other.AsyncOperationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ if (AsyncOperationId.Length != 0) hash ^= AsyncOperationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ if (AsyncOperationId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AsyncOperationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateServiceAccountRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ServiceAccountSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ if (other.AsyncOperationId.Length != 0) {
+ AsyncOperationId = other.AsyncOperationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ServiceAccountSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Temporalio.Api.Cloud.Identity.V1.ServiceAccountSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ AsyncOperationId = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateServiceAccountResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateServiceAccountResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Temporalio.Api.Cloud.CloudService.V1.RequestResponseReflection.Descriptor.MessageTypes[57]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountResponse(CreateServiceAccountResponse other) : this() {
+ serviceAccountId_ = other.serviceAccountId_;
+ asyncOperation_ = other.asyncOperation_ != null ? other.asyncOperation_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateServiceAccountResponse Clone() {
+ return new CreateServiceAccountResponse(this);
+ }
+
+ /// Field number for the "service_account_id" field.
+ public const int ServiceAccountIdFieldNumber = 1;
+ private string serviceAccountId_ = "";
+ ///
+ /// The ID of the created service account.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ServiceAccountId {
+ get { return serviceAccountId_; }
+ set {
+ serviceAccountId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "async_operation" field.
+ public const int AsyncOperationFieldNumber = 2;
+ private global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation asyncOperation_;
+ ///
+ /// The async operation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation AsyncOperation {
+ get { return asyncOperation_; }
+ set {
+ asyncOperation_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateServiceAccountResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateServiceAccountResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ServiceAccountId != other.ServiceAccountId) return false;
+ if (!object.Equals(AsyncOperation, other.AsyncOperation)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ServiceAccountId.Length != 0) hash ^= ServiceAccountId.GetHashCode();
+ if (asyncOperation_ != null) hash ^= AsyncOperation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ServiceAccountId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(ServiceAccountId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ServiceAccountId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(ServiceAccountId);
+ }
+ if (asyncOperation_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ServiceAccountId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceAccountId);
+ }
+ if (asyncOperation_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AsyncOperation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateServiceAccountResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ServiceAccountId.Length != 0) {
+ ServiceAccountId = other.ServiceAccountId;
+ }
+ if (other.asyncOperation_ != null) {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ AsyncOperation.MergeFrom(other.AsyncOperation);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ ServiceAccountId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ ServiceAccountId = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (asyncOperation_ == null) {
+ AsyncOperation = new global::Temporalio.Api.Cloud.Operation.V1.AsyncOperation();
+ }
+ input.ReadMessage(AsyncOperation);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetServiceAccountRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser